From: "Eric Plante" <[EMAIL PROTECTED]>
I tried with the c:out tag within the iterate:iterate tag and it simply
print out the string, same thing if I just write the variable itself.
is the c:foreach the only way to do it? I'd rather not make a drstic
change
to my site and I want to practice doing my own tag too.
JSTL is a standard and is the recommended way to iterate over collections.
I would save the custom tags for things that aren't already available in
Struts or JSTL. You'll probably find something specific to your application
that you can practice on.
Post the code that isn't working and someone will take a look. My guess is
that you missed the ${} around the text, without that it will not be
evaluated as an expression.
I'm about to throw out a bunch of acronyms and version numbers, but in order
to help I need to know what you're using.
First, what Servlet container and version are you using? (The real question
is: "What version of the Servlet spec are you using?") Look at the top of
your web.xml file, it should say <web-app version="x.x">. That's the number
I need.
I noticed that your tld specified JSP 1.1, so if you have to support Servlet
2.2/JSP 1.1, I don't think JSTL is an option. JSTL 1.0 requires at least
Servlet 2.3/JSP 1.2 (Tomcat 4.x).
http://jakarta.apache.org/taglibs/doc/standard-1.0-doc/intro.html
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]