Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retreive value after validation error

 
sachin y deshpande
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Am new to struts.
We have a jsp which has several dropdowns and some text fields. The values (List) in these dropdowns are retreived from the database.
When the jsp is submitted and if a validation error occurs (validation done using struts framework) the values in the dropdown are lost. What should be done to access the dropdown values (Lists), previously retreived, in the jsp.
information: We get the "No collection found" error on the jsp if the validation fails.

Thanks in advance.
 
sachin y deshpande
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also need to mention that we are using ActionForm to set the data retreived from database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic