JSTL forEach acting funny

2004-12-02 Thread sbeam
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}

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
into and how are you placing those results there, i.e what is row? what value are you suppluing items in forEach ... etc.. more info people! -Original Message- From: sbeam [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 12:33 To: Tomcat Users List Subject: JSTL forEach acting funny

Re: JSTL forEach acting funny

2004-12-02 Thread QM
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 :

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 07:39 am, Allistair Crossley wrote: for a question on forEach I would expect you to have copied in the forEach part ;) i am surprised if you are seeing the actual dollar signs and braces as tomcat should be picking those up as expression language. is there any

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
you need %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % at the top of your jsp though. -Original Message- From: sbeam [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 13:06 To: Tomcat Users List Subject: Re: JSTL forEach acting funny On Thursday 02 December 2004

Re: JSTL forEach acting funny

2004-12-02 Thread David Smith
As I understand it, you need to make sure Tomcat knows you want the 2.4 spec as opposed to the 2.3 spec to use JSTL semantics like ${}. What does your web.xml file show at the top? Does it use the 2.4 schema? --David sbeam wrote: On Thursday 02 December 2004 07:39 am, Allistair Crossley

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:07 am, Allistair Crossley wrote: you need %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % at the top of your jsp though. Have that - if I didn't then c:forEach ... would show up in the output, but it doesn't. My apologies, I should have

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
suggests. -Original Message- From: sbeam [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 13:14 To: Tomcat Users List Subject: Re: JSTL forEach acting funny On Thursday 02 December 2004 08:07 am, Allistair Crossley wrote: you need %@ taglib uri=http://java.sun.com/jsp/jstl

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:12 am, David Smith wrote: As I understand it, you need to make sure Tomcat knows you want the 2.4 spec as opposed to the 2.3 spec to use JSTL semantics like ${}. What does your web.xml file show at the top? Does it use the 2.4 schema? --David I think so.

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
[mailto:[EMAIL PROTECTED] Sent: 02 December 2004 13:24 To: Tomcat Users List Subject: Re: JSTL forEach acting funny On Thursday 02 December 2004 08:12 am, David Smith wrote: As I understand it, you need to make sure Tomcat knows you want the 2.4 spec as opposed to the 2.3 spec to use JSTL

Re: JSTL forEach acting funny

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:27 am, Allistair Crossley wrote: you mention you changed your server.xml .. that's wrong. i said web.xml and this will be at webapps/yourwebapp/WEB-INF/web.xml Sorry, I misspoke there. Actually it _was_ web.xml that has the contents changed as indicated, in

RE: JSTL forEach acting funny

2004-12-02 Thread Allistair Crossley
assume like isELIgnored sorry pal! -Original Message- From: sbeam [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 13:45 To: Tomcat Users List Subject: Re: JSTL forEach acting funny On Thursday 02 December 2004 08:27 am, Allistair Crossley wrote: you mention you changed your

Re: JSTL forEach acting funny [SORT OF SOLVED]

2004-12-02 Thread sbeam
On Thursday 02 December 2004 08:52 am, Allistair Crossley wrote: i don't know sorry. i can however tell you that i just pasted your simplified code into one of my JSPs and it works (i.e foo is 1 ..). you've installed standard.jar and jstl.jar as your forEach is now working. it's probably very