File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
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