This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem with Request Forwarding in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with Request Forwarding in Struts" Watch "Problem with Request Forwarding in Struts" New topic
Author

Problem with Request Forwarding in Struts

Tony Tranquil
Greenhorn

Joined: Sep 23, 2003
Posts: 24
Hi all,
In my struts-config file I defined following action
<action path="/cancelProcess" type="com....." [bold]name="formA"[/bold]>
<forward name="failed" path="/processSave.do"/>
</action>

<action path="/processSave" type="com...." [bold]name="formB"[/bold]
</action>

I got error: "formA is incompatible with formB"
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Post the stacktrace that includes the actual error text.
 
Consider Paul's rocket mass heater.
 
subject: Problem with Request Forwarding in Struts
 
Similar Threads
Form bean not taking the value when property is disabled in jsp
ActionForm getters and setters.
Two forms in a page problem
Opinion of an expert
JSP Dynamically generated link needs to be associated with different form and submitted