tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 赵顺 <cnjoy...@gmail.com>
Subject EL expressions do not work in tag file (tomcat 6.26)
Date Sat, 03 Jul 2010 12:44:52 GMT
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">
use jsp 2.4
------
    <jsp-config>
 <taglib>
       <taglib-uri>jet</taglib-uri>
       <taglib-location>/WEB-INF/jet.tld</taglib-location>
    </taglib>
        <jsp-property-group>
            <url-pattern>*.jsp</url-pattern>
            <el-ignored>false</el-ignored>
            <page-encoding>UTF-8</page-encoding>
            <scripting-invalid>true</scripting-invalid>
        </jsp-property-group>
           <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>
-----
and the el expressions works fine in jsp file such as ${1+1} ${var}
but the same expressions do not work in .taf file it print out the
expression directly

It both work fine in tomcat 6.0.18

but in 6.0.26  the tag file did not show expression correctly




-- 
                   致
       礼!


              赵顺cnjoyfun@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message