struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmall <hacker.ano...@gmail.com>
Subject struts2 ajax jsps
Date Thu, 19 Jul 2007 13:53:56 GMT

Hi,

  When we use the AJAX theme in Struts2, do we need to copy all the jsps and
tags bundled in the struts2 jar file under src/main/webapp into our
application? Or would it suffice to have struts-2.0.6.jar in my lib dir. I
am getting the following error while executing my jsp. Thanks for your
help!!!

java.io.FileNotFoundException: /ajax/commonInclude.jsp
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:4
16)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445
)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
54)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:2
30)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
27)
        at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
        at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
.java:983)
        at
org.apache.jsp.WEB_002dINF.pages.chat_jsp._jspService(org.apache.jsp.
WEB_002dINF.pages.chat_jsp:104)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:358)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:4
40)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445
)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1049)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:72)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1040)
        at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewrit
eFilter.java:738)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1040)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
52)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:2
30)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
27)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:266)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
        at
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(Servl
etDispatcherResult.java:139)
        at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResul
tSupport.java:178)
        at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(Default
ActionInvocation.java:343)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:248)
        at
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doInte
rcept(DefaultWorkflowInterceptor.java:213)
        at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
(MethodFilterInterceptor.java:86)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
        at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
(MethodFilterInterceptor.java:88)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
        at
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.interc
ept(ConversionErrorInterceptor.java:123)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
        at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.intercept(P
arametersInterceptor.java:161)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)
        at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.inter
cept(StaticParametersInterceptor.java:105)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:219)
        at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default
ActionInvocation.java:218)
        at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim
erStack.java:455)
        at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:216)

 
-- 
View this message in context: http://www.nabble.com/struts2-ajax-jsps-tf4111244.html#a11689817
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