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

Empty list after validation error

 
Carlos Ribeiro
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i'm having problems with struts 1.2.7..

In my form, i have a list.



i pupulate this list in a Action.



but, when a validation error occurs and a JSP will be rendered.. the list comes empty..

any suggestion??

Thanks
 
Shankar Tanikella
Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carlos, Does it work fine for the first time i.e. before validation error? Or did i get the scenario wrong?
 
Carlos Ribeiro
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes..before the validation it work..

i think the way i prepopulate the list it's wrong...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic