| Author |
Struts application with JBoss-2.4.4_Tomcat-3.2.3
|
Amit Delve
Ranch Hand
Joined: Dec 22, 2003
Posts: 33
|
|
I have created a struts application and trying to deploy it in JBoss-2.4.4_Tomcat-3.2.3. I have deployed all the files in the webaps folder in tomcat. webapps -> jsp -> web-inf -> classes lib The web-inf folder has the struts files like struts-bean-el.tld , struts-config.xml, struts-html.tld, struts-html-el.tld, struts-logic.tld, web.xml. My java class files are in the classes folder. The struts jar files are in the lib folder - struts.jar, struts-el.jar. When i run my app, tomcat gives the follwoign message [INFO,Default] XmlMapper: Can't find resource for entity: -//Sun Microsystems, I nc.//DTD Web Application 2.3//EN --> http://java.sun.com/dtd/web-app_2_3.dtd "nu ll" [INFO,Default] cannot load servlet name: action: org.apache.struts.action.ActionServlet When I launch my application, the index.jsp page gives me the following error - org.apache.jasper.compiler.CompileException: D:\jboss2x\JBoss-2.4.4_Tomcat-3.2.3\tomcat\webapps\struts1\jsp\index.jsp(5,12) Unable to load class org.apache.strutsel.taglib.html.ELRewriteTag at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:129) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759) at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138) at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909) at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194) at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:813) at org.apache.jasper.compiler.Parser.parse(Parser.java:1077) at org.apache.jasper.compiler.Parser.parse(Parser.java:1042) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Unknown Source) I have included in my classpath too the struts jar files. But still i get the same error. Help would be appreciated. - Amit.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
|
Moving to the Struts forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Struts application with JBoss-2.4.4_Tomcat-3.2.3
|
|
|