Win a copy of Head First Android this week in the Android forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Multiple calls to populate ActionForm

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

here is my sequence

jsp -> action A -> action B

Within a sequence of Actions (with no intermediate user interaction), the
ActionForm is populated with the request parameters' values each time the
request is forwarded to the next Action. As a consequence, an Action B,
following an Action A, will not 'see' the ActionForm in the state Action A left it in, but instead get as the ActionForm's properties' values, the parameters' values provided with the HTTP request. (I.e. Action B 'sees' in the ActionForm what, e.g., the user entered, instead of what Action A already did with it.)

I made some changes on the form on action A but unfortunately action B can not see those changes . action B sees only the values entered in the JSP

I have no control under action B and I can not remove "name" property from the action definition in struts config because action B under another developer's control

is there any solution for my problem

Thanks
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic