is your struts-tag.tld in \WEB-INF\classes is your struts2-dojo-plugin-2.1.2.jar in \WEB-INF\lib
? Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 17 Sep 2008 14:46:35 -0700 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Problem with JSP Compilation > > > I have a webapp which uses Struts 2's taglib and Tomcat 5.5.23 with Java 1.5. > I am not using precompiled JSP pages. Whenever I try to access a JSP page > containing a struts 2 tag, the following exception is thrown: > > org.apache.jasper.JasperException: /default/login.jsp(37,0) File > "/struts-tags" not found > > org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) > > org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) > > org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) > > org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:340) > org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:373) > org.apache.jasper.compiler.Parser.parseDirective(Parser.java:485) > org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557) > org.apache.jasper.compiler.Parser.parse(Parser.java:127) > > org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212) > > org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:296) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:277) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:265) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > My JSP page is quite simple: > > <%@ page language="java" %> > <%@ taglib uri="/struts-tags" prefix="s" %> > <%@ page > import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" > %> > <%@ page import="org.springframework.security.ui.AbstractProcessingFilter" > %> > <%@ page import="org.springframework.security.AuthenticationException" %> > > <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> > <body> > > <s:form action="SubmitAction" theme="simple" > > Name: <s:textfield name="userName" /> > <s:submit /> > </s:form> > </body> > </html> > > All of the struts 2 JAR files are located in the WEB-INF/lib directory > (including struts2-core which contains the appropriate tld file for the > /struts-tag library). Is there anything that I need to configure to make > Tomcat manually compile each JSP page? Or does anyone have any > troubleshooting suggestions? > > Thanks, > > David > -- > View this message in context: > http://www.nabble.com/Problem-with-JSP-Compilation-tp19541813p19541813.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ See how Windows Mobile brings your life together—at home, work, or on the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/