*
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
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: 4447
    
    5

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]
 
 
subject: form bean problem
 
Similar Threads
passing html tags through tile
how to access already created bean in jsp
Old form values getting displayed
How to load collection to the form bean from jsp
I18N form beans