On 8/21/06, maya <[EMAIL PROTECTED]> wrote:

yes, that helped, thank you very much...  I managed to figure out which
one to download here,
http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi

... so you're using JSTL 1.1

followed all instructions in my book (created webapp "jstltest", created
web.xml acc. to instructions, put .tld's where they belong, plus the
jars (jstl.jar, standard.jar, which I put in tomcat/common/lib (I usu.
put all jars in tomcat/common/lib,

In general, unless you have a good reason to use the common/shared
directories, placing jars *only* in WEB-INF/lib is a better choice.

but in this case put also in
jstltest/WEB-INF/lib because am getting error as described below, just
in case, but that did not help..).. created test.jsp, as instructed
(contains just

<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"%>
<c:out value="Congratulations, JSTL is working!"/>
   )

That isn't the right uri for JSTL 1.1.  It should be:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

however, when start tomcat, get this error for this webapp:

I think you're mixing and matching Servlet and JSTL versions incorrectly.

What are the first few lines of your web.xml?

There are some notes here to help people sort out which version of
JSTL to use...  ignore the Struts-related parts and see if it helps:
http://wiki.apache.org/struts/StrutsAndJSTL

HTH,
--
Wendy

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to