Philip Mark Donaghy wrote:
Hi,
I have an struts pattern that is an action which forwards to another
action which forwards to a jsp in the same request. I believe the is a
common pattern and isn't the cause of the error. Have you any clue as
to what the cause may be?
Philip,
Make sure to define redirect="true" on your original forward from the action.
That should fix it.
I just fixed a similar mistake in the JPetstore demo which also resulted in a
stackoverflow :)
See: http://svn.apache.org/viewvc?view=rev&rev=545674
Regards,
Ate
The stack trace,
WARNING: Warning: Using the original action URL for render URL:
/Options/NetworkMonitorOptionsViewStatus.do.
A redirect should have been issued.
Jun 2, 2007 8:57:35 PM org.apache.portals.bridges.struts.StrutsPortlet
processRequest
SEVERE: Include exception
javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at
org.apache.portals.bridges.struts.PortletServletRequestDispatcher.invoke(PortletServletRequestDispatcher.java:115)
at
org.apache.portals.bridges.struts.PortletServletRequestDispatcher.include(PortletServletRequestDispatcher.java:133)
at
org.apache.portals.bridges.struts.PortletServlet.performActionRenderRequest(PortletServlet.java:172)
at
org.apache.portals.bridges.struts.PortletTilesRequestProcessor.processRoles(PortletTilesRequestProcessor.java:57)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:197)
at
org.apache.portals.bridges.struts.PortletTilesRequestProcessor.process(PortletTilesRequestProcessor.java:50)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
org.andromda.presentation.bpm4struts.ActionServlet.doGet(ActionServlet.java:39)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanks for you help.
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]