Re: basic JSTL question

2006-12-19 Thread Rick Schumeyer
Never mind! The solution involved some not-so-obvious steps 1. download and install the jstl (ok, this should have been obvious) 2. Change the top of my web.xml (this was not obvious...see http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0) 3. read the docs on jstl and FormBeans

Re: basic JSTL question

2006-12-19 Thread Wendy Smoak
On 12/19/06, Rick Schumeyer <[EMAIL PROTECTED]> wrote: These should be easy questions, but I can't find the answers...if someone could either answer them or point me to the right docs, I would appreciate it. 1. What is the proper uri for the jstl core library? According to my JSP book it should

basic JSTL question

2006-12-19 Thread Rick Schumeyer
These should be easy questions, but I can't find the answers...if someone could either answer them or point me to the right docs, I would appreciate it. 1. What is the proper uri for the jstl core library? According to my JSP book it should be <%@ taglib prefix="c" uri="http://java.sun.com/

Re: Basic JSTL

2004-09-01 Thread Bill Siggelkow
Okay, Andy -- JSTL operates on scoped variables not scripting variables. You are trying to access scripting variables. I found this good primer on JSTL that explains this at http://www-106.ibm.com/developerworks/java/library/j-jstl0211.html andy wix wrote: Hi, In trying to resolve another (more

Re: Basic JSTL

2004-09-01 Thread Brett Connor
xxx needs to be somewhere accessible to the c:forEach tag. Do a search on scoped variables. This can be done in your scriptlet or in the action that forwards to this jsp. Brett andy wix wrote: Hi, In trying to resolve another (more Struts related!) problem someone suggested using a <%@ taglib

Basic JSTL

2004-09-01 Thread andy wix
Hi, In trying to resolve another (more Struts related!) problem someone suggested using a <%@ taglib uri="jstl/c" prefix="c" %> <% Test con1 = new Test(); Test con2 = new Test(); con1.setName("Fred"); con2.setName("Dog"); ArrayList xxx = new ArrayList(); xxx.add(con1); xxx.add(con2); %>