You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/03/30 10:59:56 UTC
DO NOT REPLY [Bug 34238] New: -
sample .jsp produces literal ${row.foo}
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=34238>.
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=34238
Summary: sample .jsp produces literal ${row.foo}
Product: Tomcat 5
Version: 5.0.28
Platform: Other
URL: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-
datasource-examples-howto.html
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Webapps:Documentation
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mjs@beebo.org
The sample .jsp (Section 4 of
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html)
has lines like:
<c:forEach var="row" items="${rs.rows}">
Foo ${row.foo}<br/>
Bar ${row.bar}<br/>
</c:forEach>
This produces a literal "${row.foo}", etc. Changing the taglib
reference from http://java.sun.com/jsp/jstl/core to
http://java.sun.com/jstl/core (i.e. remove /jsp) and rewriting
"${row.foo}" as <c:out value="${row.foo}"/> seemed to work, but I
don't know if this is the "right" solution.
--
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org