You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sbeam <sb...@onsetcorps.net> on 2004/12/02 13:33:01 UTC
JSTL forEach acting funny
Hi, Tomcat n00b here just installed 5.5.4. Trying to do the HOWTO at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Finally got the JDBC connection working I think, but my final JSP output
just shows
==========
Results
Foo ${row.foo}
Bar ${row.bar}
==========
It's like the c:forEach tag is being ignored and the contents are not
parsed at all. I actually have 3 rows in the testdata table so if it
was at least looping I should have repeats. The test.jsp is exactly
like the tutorial. I have jstl.jar and standard.jar in my WEB-INF/lib
copied from jakarta-taglibs-standard-1.1.2 from the jakarta site.
Please let me know what I did wrong, I am going through the JSTL docs
but everything seems to be on the up-and-up with that...
thanks
-Sam
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: JSTL forEach acting funny
Posted by QM <qm...@brandxdev.net>.
On Thu, Dec 02, 2004 at 07:33:01AM -0500, sbeam wrote:
: Hi, Tomcat n00b here just installed 5.5.4. Trying to do the HOWTO at
: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
:
: Finally got the JDBC connection working I think, but my final JSP output
: just shows
: ==========
: Results
: Foo ${row.foo}
: Bar ${row.bar}
: ==========
:
: It's like the c:forEach tag is being ignored and the contents are not
: parsed at all.
You'll have to post the offending JSP.
Likely, you've forgotten to import the relevant JSTL taglibs in your
JSP.
Without those imports, a $ is just a $.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org