This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have 2 drop down lists, once the user selects the first drop down it gets the list values of second drop down. But i need to save the values selected by the user from the 2 drop down lists when the page reloads and i m thinking of using session. Any help is appreciated.
That's pretty straight-forward. Save the selection values in the session as scoped variables, then use JSP mechanisms on the page to set the selected attribute on the appropriate <option> elements. What part are you having problems with?
so i just need to have 2 session.setAttributes for 2 drop down lists, then in the struts action class access them, then how shall i add them in the options tag in jsp , since the inital value is set like this