tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41106] - "deferred" expression fails if <jsp-version> less than 2.0
Date Tue, 05 Dec 2006 00:16:28 GMT
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=41106>.
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=41106





------- Additional Comments From stan@jboss.com  2006-12-04 16:16 -------
You could also say:

boolean checkDeferred = (!version.equals("1.2") && !version.equals("2.0"))

That takes advantage of the fact that 1.2,2.0, and 2.1 are the only versions
where the <jsp-version> tag was defined.  However, doing it that way doesn't
allow someone to say <jsp-version>1.1</jsp-version>.  Maybe it shouldn't be
allowed so you throw an error in that case?

As for it being a bug, I'm quite certain.  An application written for JSP 1.2
should run the same in JSP 2.1.  As of now, that is not true for taglibs with
<jsp-version>1.2</jsp-version>.  Backward compatibility is broken if an
attribute value starts with "#{".  Just try the WAR in Tomcat 5.5 and you will
see that it works.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message