Hi all,
I am using struts 1.1 version for my application.
I have to prepopulate drop-down lists on various jsp pages.
The approach I am taking right now is in the reset method I make a call to
database which returns me all the values for a list..for example it returns
me all states.
Then I put this variable in session and access in jsp to display the values
in drop down.
The problem is sometimes the drop down is blank but if I go to that page
again after some time it comes back. I have seen this problem couple of
times only but not able to reproduce every time.
I am trying to find out what could be the reason for this kind of behavior.
Also, is there any other better approach to prepopulate the drop down list?
Should I just make call to database from jsp page.
Any help is appreciated.
Thanks
--
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)