• Post Reply Bookmark Topic Watch Topic
  • New Topic

Action Mapping ActionTag input param issue..  RSS feed

echarish Kumar
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!