I find those core tags to look too much like a disguised version of <% %> tag which I prefer to avoid if I could.
I'd rather want to know what's wrong with the custom tag I designed. I want to learn how to make them and this one should work but doesn't. I'm using version 2.3 and I'm using tomcat 5.5.9 ----- Original Message ----- From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Sunday, October 23, 2005 3:05 PM Subject: Re: Problems with custom taglibs > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]