• 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

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
 
"To do good, you actually have to do something." -- Yvon Chouinard
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic