File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to reset form bean properties

 
purushotham podaralla
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i have too many controls are there to reset the values when form loads initially. i have around fifty controls are there. when i use reset method in form bean need to set all properties to null. and then i am calling this method when form loading method. i am using struts 1.2. is there any solution to use without setting to null in the reset() method. please do thhe needful.

Thanks in Advance.

Regards
Purushotham
 
Sagar Rohankar
Ranch Hand
Posts: 2905
1
Java Spring Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cant get your question ! If you don't want to set properties to null in reset() method, then set them to some blank values like, for String, assign "" string..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic