there must be a default isELIgnored flag for tag files
once I used
<%@ tag
import="org.apache.commons.beanutils.BeanUtils"
pageEncoding="UTF-8"
description="" isELIgnored="false" %>
in my tag files
and tomcat 6.0.26 says
org.apache.jasper.JasperException: /WEB-INF/tags/jet/grid.tag(26,1)
Tag directive: illegal to have multiple occurrences of isELIgnored
with different values (old: true, new: false)
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:260)
org.apache.jasper.compiler.Node$TagDirective.accept(Node.java:694)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
org.apache.jasper.compiler.Validator.validateDirectives(Validator.java:1723)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:182)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
but I don't know how to override the old value or the change the old value
On Mon, Jul 5, 2010 at 10:43 PM, Konstantin Kolinko
<[email protected]>wrote:
> 2010/7/3 赵顺 <[email protected]>:
> > my web.xml
> >
> > ----------
> > <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
> > version="2.4">
> (...)
> > <jsp-config>
> > <jsp-property-group>
> > <url-pattern>*.tag</url-pattern>
> > <el-ignored>false</el-ignored>
> > <page-encoding>UTF-8</page-encoding>
> > <scripting-invalid>true</scripting-invalid>
> > </jsp-property-group>
> > </jsp-config>
>
> I am afraid that the above is not applicable to tag files.
>
>
> Table JSP.8-2 "Details of tag directive attributes" page 1-179 of
> jsp-2_1-fr-spec.pdf says about isELIgnored attribute of a @tag
> directive:
>
> "However, there is no corresponding global configuration element in
> web.xml"
>
> Also chapter JSP.3.3 JSP Property Groups of the same specifications says
>
> "A JSP property group is a collection of properties that apply to a
> set of files that
> represent JSP pages."
>
> and several sentences lower, explicitly:
>
> "JSP Property Groups do not affect tag files."
>
>
>
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
致
礼!
赵顺[email protected]