`
yangyongjie
  • 浏览: 7362 次
  • 性别: Icon_minigender_1
文章分类
社区版块
存档分类
最新评论

The function equals must be used with a prefix when a default namespace is not s

阅读更多
The function equals must be used with a prefix when a default namespace is not specified
解决方案:
<c:if test="${user.headImg!=null && !(user.headImg).equals('')}">
<img src="${ctx}${headImgUrl}${user.headImg}" style=" width: 40px; border-radius: 50%; border: 3px solid #c2ccd1; "></c:if>
<c:if test="${user.headImg==null || (user.headImg).equals('')}">
<img src="${ctxStatic}/bootstrap/2.3.1/img/head_pic.png"></c:if>

改为
<c:if test="${user.headImg!=null && !(user.headImg eq(''))}">
<img src="${ctx}${headImgUrl}${user.headImg}" style=" width: 40px; border-radius: 50%; border: 3px solid #c2ccd1; "></c:if>
<c:if test="${user.headImg==null || user.headImg eq('')}">
<img src="${ctxStatic}/bootstrap/2.3.1/img/head_pic.png"></c:if>
分享到:
评论

相关推荐

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Note that this guide is not a C++ tutorial: we assume that the reader is familiar with the language. Header Files In general, every .cc file should have an associated .h file. There are some common ...

    Using LUA with Visual C++ (Introduction)

    You can verify this by calling the lua_gettop function, the result must be zero, it's a good candidate for the _ASSERT macro (defined in crtdbg.h). // Open the LUA state lua_State *L = lua_open(); ...

    Java邮件开发Fundamentals of the JavaMail API

    (As you'll soon see, this can be a problem when working with POP.) SMTP The Simple Mail Transfer Protocol (SMTP) is defined by RFC 821 . It defines the mechanism for delivery of e-mail. In the ...

    Field II 超声模拟系统 JAJ 开发

    This response gives the emitted ultrasound field at a specific point in space as function of time, when the transducer is excitated by a Dirac delta function. The field for any kind of excitation can...

    java面试题英文版及其答案

    10. Describe the difference between '==' and `.equals()` in Java.Answer: In Java, '==' is a comparison operator used to compare primitive types, like int or char, and checks if both sides refer to the...

    ssd5 ex4 给需要帮助的人。这是ssd5 ex4

    virtual Listing sort(string field); This is a new method. This method returns a copy of the ... Regardless of the STL functions used, a solution should not use any for-loops or while-loops. Files

    JAXB Demo及namespace的prefix自定义解决方案

    在本教程中,我们将深入探讨JAXB的使用,并解决关于namespace prefix自定义的问题。 首先,让我们了解JAXB的基本工作原理。JAXB允许你通过注解或者XML绑定文件(.xjb)将Java类映射到XML Schema定义的元素和属性。...

    sonar检查规则指南

    ".equals()" should not be used to test the values of "Atomic" classes. - **解释**:`Atomic`类是Java并发编程中非常重要的组成部分,它们提供了原子操作的能力。然而,这些类没有重写`equals()`方法,因此...

    Concepts in Electric Circuits

    **Norton’s Theorem**: Norton’s theorem is similar to Thévenin’s theorem but represents the circuit with a current source (In) in parallel with a resistor (Rn), where In is the short-circuit ...

    Chapter 8 Valuation of Bonds(Finance -东北财经大学).pdf

    Chapter 8 of "Valuation of Bonds" from Finance at Northeastern University delves into the methodologies and principles used in assessing the worth of financial instruments that guarantee a series of ...

    sympy-docs-pdf-1.0.pdf

    The `solveset` function is a newer and more powerful solver compared to the traditional `solve` function. It provides more comprehensive solutions for equations and inequalities. ##### 5.33 Tensor ...

    Motorola GM300无线电台 8 信道改16信道软件及说明(说明为英文版)

    18. Now you must do a final checksum and make sure it equals the original value. 19. If this is the same, then replace you original file with the modified file. 20. Try to reprogram your radio with ...

    相同尺寸抛物球面镜单元旋转阵列的碟式太阳能聚光器聚焦特性研究.docx

    For parabolic mirrors, the interception width is minimized when fm/R1 equals 0.6, while for spherical mirrors, this occurs at Rm/R1 equals 1.0. These values indicate the best balance between ...

    数字信号处理英文版:Ch7 LTI Discrete-Time Systems in the Transform Domain

    A transfer function characterizes the behavior of a system in the frequency domain by describing how input signals are transformed into output signals. It can be classified based on the duration of ...

    struts_2.3.12GA_API文档(chm版本)

    Gets a message based on a key using the supplied args, as defined in MessageFormat, or, if the message is not found, a supplied default value is returned. String getText(String key, String default...

    ap6212a0_a33_sc3817r_服务器验证通过_bt已经通了_wifi需要修改配置_需要再次验证_20170626_1549.7z

    -- default: disable Bluetooth PAN feature --&gt; &lt;item&gt;"bt-pan" 3、 R:\wyb\ap6212a0_a33_sc3817r\android\device\softwinner\astar-y3\astar_y3.mk # ap6181/6210/6330 sdio wifi fw and nvram #$(call ...

    不常用的TParser类解析(文本文件中相关字符串)

    Checks whether the current token is a component identifier. function TokenFloat; Returns the current token as a float. function TokenInt; Returns the current token as an integer function Token...

    libpng error not a png file

    System.out.println("The file is not a PNG."); } } } ``` 这段代码首先读取文件的前8个字节,然后与PNG签名进行比较。如果一致,说明文件可能是PNG格式。然而,这只是一个基本的检查,实际的PNG文件还需要遵循...

    springframework.5.0.12.RELEASE

    Equals checks to MediaType.ALL should not be affected the presence of parameters [SPR-17550] #22082 Reactive HTTP header adapters don't print header values in toString [SPR-17546] #22078 Add ability ...

    数学公式英语读法

    例如:“A \ B = {x | x ∈ A and x ∉ B}”可以读作“A minus B equals the set of x such that x is in A and x is not in B”。 7. **A × B (A cross B / the cartesian product of A and B)** - “A × B”...

Global site tag (gtag.js) - Google Analytics