DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33598>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33598

           Summary: EL in tag file not evaluated when 2.3 web.xml used
           Product: Tomcat 5
           Version: 5.5.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Overview:
According to JSP 2.0 specification, the default setting for ignore EL does not 
apply to tag files, which always default to evaluating expressions (JSP.3.3.2 
page 123) 
On Tomcat, when 2.3 web.xml is used, EL in tag document file are not evaluated.

Steps to reproduce:
- create a 2.3 web.xml
- create a tag document file that contains expressions, for example
<?xml version="1.0"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0">
  <jsp:directive.attribute name="expr" type="java.lang.String"/>
  <jsp:text>${expr}</jsp:text><br />
  <jsp:text>Sample EL Expression : ${5+8}</jsp:text>
</jsp:root>
- create a jsp that uses the above tag

Expected result:
${expr} evaluated to 30 and ${5+8} evaluated to 13

Actual Results:
${expr} and ${5+8} are displayed unevaluated

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to