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 Action Mapping ActionTag input param issue.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Mapping ActionTag input param issue.." Watch "Action Mapping ActionTag input param issue.." New topic
Author

Action Mapping ActionTag input param issue..

echarish Kumar
Ranch Hand

Joined: Feb 02, 2010
Posts: 42
Hi
I have a action which is being called from different JSP's, and my bussiness flow is such that my form gets filled with values by passing through 4 JSP pages one by one, now my problem is whenever is do validation and set the error object my application seems to show my global exception page but it also shows the pop-up of validation message. The problem is that i cant specify the INPUT param in action mapping as I dont know from which page this action will be called, it could be called from different flow so now i am wondering how to resolve this issue.

Do i have to define different action mapping for each page with same action and action form? or is there any other way to do this.


<action path="/createNewQuote" scope="session" type="org.springframework.web.struts.DelegatingActionProxy"
parameter="method" name="quotationDecisionForm" validate="true" >
<forward name="purelyNewQuote" path="/SG302.jsp"></forward>
<forward name="vehicleInfoInput" path="/preprocessing.do"></forward>
<forward name="shiftMainUserDetails" path="/SG306.jsp"></forward>
</action>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action Mapping ActionTag input param issue..