• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple calls to populate ActionForm  RSS feed

ram nagab
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!