File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "form bean problem" Watch "form bean problem" New topic

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
Old form attributes are displayed
How to avoid this.. whats the problem ?

Sun Certified Enterprise Architect
Java Technology Blog
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

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]
I agree. Here's the link:
subject: form bean problem
It's not a secret anymore!