On Sun, Jun 7, 2009 at 4:16 PM, Caldarale, Charles R<chuck.caldar...@unisys.com> wrote: >> From: Marco Guazzone [mailto:marco.guazz...@gmail.com] >> Subject: Update to 6.0.20: deferred EL expressions >> >> The behavior of Tomcat 6.0.20 seems to be the right one >> (while 6.0.18 was wrong). > > From the changelog, it appears to be related to this: > https://issues.apache.org/bugzilla/show_bug.cgi?id=36923 > > The above fix went into 6.0.19, along with quite a bit of other work in > Jasper: > http://tomcat.apache.org/tomcat-6.0-doc/changelog.html >
Thank you! I've read the description of the aobe bug, but, sorry, I don't understand how this applies to my problem. With Tomcat 6.0.18 the code snip I've posted would be rendered as (for clarification, I add more context around the code snip): --- [snip] --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- ... --> <link rel="stylesheet" href="/my-web-app/resources/theme/current/css/screen.css" type="text/css" /> <link rel="shortcut icon" href="/my-web-app/resources/theme/current/img/favicon.ico" type="image/x-icon"/> </head> <!-- ... --> </html>. --- [/snip] --- Instead with Tomcat 6.0.20: --- [snip] --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- ... --> <link rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/theme/current/css/screen.css" type="text/css" /> <link rel="shortcut icon" href="#{facesContext.externalContext.requestContextPath}/resources/theme/current/img/favicon.ico" type="image/x-icon"/> </head> <!-- ... --> </html>. --- [/snip] --- Could you tell me if the Tomcat 6.0.20 behavior is the right one? NOTE: in my first email I referrend to Section 1.2.4 of JSP 2.1 specs. Actually I meant the Section 1.2.4 of "JavaServer Pages 2.1 Expression Language Specification". Thank you very much!! Cheers!! -- Marco --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org