I am working on an application where I read combo
boxes option values from database based on certain
fields values. I do not want to store the option
values in the session. Currently I forward to view
action after saving the form data. View action always
reads data from database for populating actionform
values and the option List values. In normal case
everything works fine. But if save can not be done
because of some data validation errors, I set an
attribute "doNotReadFromDatabse"in request scope in
save action and I check  that attribute in view
action. If it present, I do not modify the form
values. I just read the combo box list values and put
in the request scope.

Is it a good approach? 
Thank you very much,
Jyoti



        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to