Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts application with JBoss-2.4.4_Tomcat-3.2.3  RSS feed

Amit Delve
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65893
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!