struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalcevich, Daniel" <dkalcev...@firstam.com>
Subject Modules Problem
Date Wed, 01 Mar 2006 21:43:30 GMT
Everyone,

 

I have two modules: / & /app.  /app is protected by a Servlet Filter and
is used for all actions after you have authenticated yourself.  I am
having a problem when I try to declare a form in a JSP page that is
referenced by an action within the /app module.  I am trying to define
the following in the JSP:

 

<html:form action="/logout" method="post"/>

 

In my config file for the / module, I have the following definitions:

 

...

<form-bean

                name="logoutForm"

                type="org.apache.struts.action.DynaActionForm">

...

<action path="/logout"

 
type="com.firstam.mlsdatachecker.struts.actions.LogoutAction"

                name="logoutForm"

                validate="false"

                input=".index"

                scope="request"

                />

...

 

I am getting the following exception:

 

javax.servlet.jsp.JspException: Cannot retrieve mapping for action
/logout

                at
org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:753)

                at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443)

                at
org.apache.jsp.jsp.nav.header_jsp._jspx_meth_html_form_0(org.apache.jsp.
jsp.nav.header_jsp:144)

                at
org.apache.jsp.jsp.nav.header_jsp._jspService(org.apache.jsp.jsp.nav.hea
der_jsp:86)

                at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)

                at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

                at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

                at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:672)

                at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:574)

                at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:499)

                at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja
va:966)

                at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:6
04)

                at
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)

                at
org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)

                at
org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)

                at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTa
g.java:892)

                at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)

                at
org.apache.jsp.jsp.templates.main_005ftemplate_jsp._jspx_meth_tiles_inse
rt_0(org.apache.jsp.jsp.templates.main_005ftemplate_jsp:142)

                at
org.apache.jsp.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
e.jsp.jsp.templates.main_005ftemplate_jsp:82)

                at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:322)

                at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

                at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

                at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:672)

                at
org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio
nDispatcher.java:463)

                at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:398)

                at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:301)

                at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
a:1063)

                at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
essor.java:263)

                at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Til
esRequestProcessor.java:239)

                at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles
RequestProcessor.java:302)

                at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
229)

                at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

                at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

                at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

                at
com.firstam.mlsdatachecker.servlet.filter.SessionTimeoutFilter.doFilter(
SessionTimeoutFilter.java:66)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:202)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)

                at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:204)

                at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)

                at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)

                at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)

                at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)

                at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)

                at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
8)

                at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:663)

                at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:527)

                at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:80)

                at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:684)

                at java.lang.Thread.run(Unknown Source)

 

Any Ideas?

 

Daniel


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message