Robert, Try putting the jar files in webapps/jstl/WEB-INF/lib
Chris -----Original Message----- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 10:23 AM To: Taglibs Users List Subject: Having trouble getting started I am using jakarta-tomcat-4.1.24 I downloaded jakarta-taglibs-standard-1.0.5 I have a tomcat context in webapps/jstl/ that works for simple JSP files. I placed c.tld and fmt.tld in webapps/jstl/WEB-INF/tld/ I placed jstl.jar and standard.jar into webapps/jstl/WEB-INF/classes/lib/ Here is a copy of my web.xml file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> <web-app> <welcome-file-list> <welcome-file> index.jsp </welcome-file> </welcome-file-list> <taglib> <taglib-uri>/jstl/core</taglib-uri> <taglib-location>/WEB-INF/tld/c.tld</taglib-location> </taglib> <taglib> <taglib-uri>/jstl/fmt</taglib-uri> <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location> </taglib> </web-app> I restarted Tomcat and JSP files work correctly at the /jstl/ context Here is a copy of my JSP file: <[EMAIL PROTECTED] contentType="text/html"%> <%@ taglib uri="/jstl/core" prefix="c" %> <html> <head> </head> <body> <c:set var="hi" value="Hello"/> <c:out value="${hi}"/> </body> </html> This is the error it get: org.apache.jasper.JasperException: /index.jsp(6,0) Unable to load class set at org.apache.jasper.compiler.DefaultErrorHandler.jspError(Unknown Source) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(Unknown Source) at org.apache.jasper.compiler.ErrorDispatcher.jspError(Unknown Source) at org.apache.jasper.compiler.Parser.parseCustomTag(Unknown Source) ... ... ... What am I doing wrong? Thanks -- ******************************************* * Rick Roberts * * Advanced Information Technologies, Inc. * * http://www.aitsupport.com * ******************************************* --------------------------------------------------------------------- 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]
