Win a copy of Svelte and Sapper in Action this week in the JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Multiple calls to populate ActionForm

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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
 
Brace yourself while corporate america tries to sell us its things. Some day they will chill and use tiny ads.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic