File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Action Mapping ActionTag input param issue..

echarish Kumar
Ranch Hand

Joined: Feb 02, 2010
Posts: 44
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="/"></forward>
<forward name="shiftMainUserDetails" path="/SG306.jsp"></forward>
I agree. Here's the link:
subject: Action Mapping ActionTag input param issue..
It's not a secret anymore!