This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 42
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Action Mapping ActionTag input param issue..
jQuery in Action, 3rd edition