tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: EL expressions do not work in tag file (tomcat 6.26)
Date Mon, 05 Jul 2010 14:43:06 GMT
2010/7/3 赵顺 <cnjoyfun@gmail.com>:
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message