Browse > Home / Archive by category 'programming / java / tomcat'

| Subcribe via RSS

JSP 2.0 Quotes

September 11th, 2008 | No Comments | Posted in java, programming, tomcat
According to JSP 2.0 specification (chapter 1.7 page 72,73)

This code is illegal:
<mytags:tag value="<%= "hi!" %>" />

Instead the correct sentence would be:
<mytags:tag value='<%= "hi!" %>' />
<mytags:tag value="<%= \"hi!\" %>" />
<mytags:tag value='<%= \"name\" %>' />

https://issues.apache.org/bugzilla/show_bug.cgi?id=45015

Can I blame the JSP spec or latest version of Tomcat for strict implementation? Clearly not my fault, right? RIGHT?

Damn it.

Posted by: Daniel Kozimor