`

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

阅读更多
错误信息:
20:23:34.035 %PARSER_ERROR[l] [qtp180406984-43] ERROR o.a.struts2.dispatcher.Dispatcher - Exception occurred during processing request: /page/zlcx/data_detail_ywsc.jsp(99,10) PWC6296: The function size must be used with a prefix when a default namespace is not specified
org.apache.jasper.JasperException: /page/zlcx/data_detail_ywsc.jsp(99,10) PWC6296: The function size must be used with a prefix when a default namespace is not specified
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:201) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1590) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:164) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:302) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:95) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.Validator$ValidateVisitor.validateFunctions(Validator.java:1613) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1356) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1133) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:850) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1501) ~[org.apache.jasper.glassfish_2.1.0.v201007080150.jar:na]


修改前代码:(left是java.util.List)
<c:if test="${${(left.size()<16) || (empty left) } }">


解决方案:
一、引入标签
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

二、调正代码
<c:if test="${((fn:length(left))<16) || (empty left) }">


分享到:
评论

相关推荐

    Windows 下整合 weblogic10 jsf1.2 hibernate3

    项目部署出现的异常 The function XXX must be used with a prefix when a default namespace is not specified Servlet response already use stream, Writer not possible org.hibernate.hql.ast.HqlToken

    js出现.endWith is not a function问题.pdf

    js出现.endWith is not a function问题

    控制台报错object is not a function的解决方法

    打开控制台发现报错:object is not a function。 感觉很奇怪,这块的功能最新没动过怎么会突然出问题了呢?上线时主流浏览器都测试过了呀。 虽然奇怪,但是还的解决问题。看着代码发现一个radio对象的name属性和一...

    2009 达内Unix学习笔记

    [] 匹配中括号里的内容[a-z][A-Z][0-9]。 ! 事件。 $ 取环境变量的值。 | 管道。把前一命令的输出作为后一命令的输入,把几个命令连接起来。 |经常跟tee连用,tee 把内容保存到文档并显示出来。 三、通用后...

    数位板压力测试

    When the user is viewing the device in its normal position, the coordinate origin will be at the lower left of the device. The coordinate system will be right-handed, that is, the positive x axis ...

    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 ...

    acpi控制笔记本风扇转速

    GPEs, to be used for debugging systems with a large number of ACPI interrupts. Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in both the ACPICA headers and the disassembler. ...

    ajaxFileUpload 报这错jQuery.handleError is not a function

    NULL 博文链接:https://zhangzhaoaaa.iteye.com/blog/2123021

    微软内部资料-SQL性能优化5

    For example, if the clustered index is on (lastname, firstname) and a nonclustered index is on firstname, the firstname value will not be duplicated in the nonclustered index leaf rows. Note The ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    Returns True if the string must be enclosed in quotes (flex-property value) before saving in the filer. - ADD: In the class TFlexGrid added the methods DoSnap and DoCustomSnap (the last one can be ...

    Sortable前端框架

    When the `delay` option is set, some phones with very sensitive touch displays like the Samsung Galaxy S8 will fire unwanted touchmove events even when your finger is not moving, resulting in the sort...

    S7A驱动720版本

    - When the signal conditioning function "S&M" was used for a byte value, the driver wrote wrong values to the PLC. Build 223 : New Functions: - The number of supported NetLinks has been ...

    微软内部资料-SQL性能优化3

    Intent Lock is the term used to mean placing a marker in a higher-level lock queue. The type of intent lock can also be called the multigranular lock mode. An intent lock indicates that SQL Server ...

    Senfore_DragDrop_v4.1

    Delphi's THandle type when a HWND is passed to a function. E.g.: if (DragDetectPlus(THandle(MyControl-&gt;Handle), Point(X, Y))) { ... } * Virtual File Stream formats can only be pasted from the ...

    微软内部资料-SQL性能优化2

    For a process to access 3 GB of address space, the executable image must have been linked with the /LARGEADDRESSAWARE flag or modified using Imagecfg.exe. It should be pointed out that SQL Server was ...

    Sakemail

    retrieved and SendMessage is a boolean function (maybe someone has pressed the cancel btn).- Fixed a bug when the subject field is too large.9/2/981.5.1- Fixed a bug with a message within a message ...

    LCTF软件备份VariSpec™ Liquid Crystal Tunable Filters

    When the explicitly set palette state overwrites a palette state implicitly associated with a certain wavelength, that wavelength will not be accurately set when one issues the VsSetWavelength() ...

    i-vector的工具箱

    In case Matlab is not installed or Matlab license is not available (for instance on a computer cluster), we provide standalone executables that can be used in conjunction with the Matlab Compiler ...

    BURNINTEST--硬件检测工具

    - A printer to run the printer test, set-up as the default printer in Windows. - A CD ROM + 1 Music CD or Data CD to run the CD test. - A CD-RW to run the CD burn test. - A network connection and the ...

    Universal-USB-Installer

    on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who ...

Global site tag (gtag.js) - Google Analytics