struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jayadevan <jayadeva...@gmail.com>
Subject Re: org.apache.jasper.JasperException: The Struts dispatcher cannot be found.
Date Thu, 16 Jul 2009 11:18:55 GMT

hi

u said struts-tags.xml is  already in struts2-*.jar
so add struts2-core.jar into class path and try to exccute

then i got the following exception 

org.apache.jasper.JasperException: File "/struts-tags.tld" not found
	at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
	at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
	at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
	at
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160)
	at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
	at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:133)
	at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
	at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
	at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)



Lukasz Lenart wrote:
> 
> 2009/7/16 jayadevan <jayadevan.m@gmail.com>:
>> my index.jsp like this
> 
> Is it the same file as in web.xml for welcome-file?
> 
>> where i place "struts-tags.xml " ?
> 
> It's already in struts2-*.jar
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
> 
> Joan Crawford  - "I, Joan Crawford, I believe in the dollar.
> Everything I earn, I spend." -
> http://www.brainyquote.com/quotes/authors/j/joan_crawford.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/org.apache.jasper.JasperException%3A-The-Struts-dispatcher-cannot-be-found.-tp24510546p24514569.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message