• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Action Mapping ActionTag input param issue..

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
reply
    Bookmark Topic Watch Topic
  • New Topic