• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Request Forwarding in Struts

 
Tony Tranquil
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the stacktrace that includes the actual error text.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!