File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form bean problem

 
Raees Uzhunnan
Ranch Hand
Posts: 126
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Junilu Lacar
Bartender
Pie
Posts: 6529
21
Java Linux Mac Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic