This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes form bean problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "form bean problem" Watch "form bean problem" New topic
Author

form bean problem

Raees Uzhunnan
Ranch Hand

Joined: Aug 15, 2002
Posts: 126
I am using apache struts , I have a problem . My old form bean is used for display after submitting a request ?
1. select to display a Page
->Diplays attributes from the formbean (1)
->User enters values
->Submit the page
executed a business fn
-> returns the result
->New values are filled to form bean (2)
->Display the result page
instead
Old form attributes are displayed
How to avoid this.. whats the problem ?


Sun Certified Enterprise Architect
Java Technology Blog
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4777
    
    8

It might help if you post some code from the action. It's a little hard to tell just from your description.
Also, please allow some time for your questions to be answered before posting a follow up; duplicates are a no-no . If your question doesn't get answered right away, it may be that people just don't have enough to go on to see the problem clearly enough. Try posting more details next time instead of reposting the question. I have closed your original post.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
jQuery in Action, 2nd edition
 
subject: form bean problem