File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts application with JBoss-2.4.4_Tomcat-3.2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts application with JBoss-2.4.4_Tomcat-3.2.3" Watch "Struts application with JBoss-2.4.4_Tomcat-3.2.3" New topic

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.

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 --> "nu
[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(
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(
at org.apache.jasper.compiler.Parser$Tag.accept(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.servlet.JspServlet.doLoadJSP(
at org.apache.jasper.servlet.JasperLoader12.loadJSP(
at org.apache.jasper.servlet.JspServlet.loadJSP(
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.tomcat.core.ServletWrapper.doService(
at org.apache.tomcat.core.Handler.service(
at org.apache.tomcat.core.ServletWrapper.service(
at org.apache.tomcat.core.ContextManager.internalService(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
at org.apache.tomcat.service.TcpWorkerThread.runIt(
at org.apache.tomcat.util.ThreadPool$
at 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

Joined: Jan 10, 2002
Posts: 63548

Moving to the Struts forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Struts application with JBoss-2.4.4_Tomcat-3.2.3
It's not a secret anymore!