now say if i select UK from this.....and i visit this page next time it should show me the "UK" as the selected option
In the link which i followed ..they have used
but i don't know how to use it.
can any body help me.....is there any other way to get the result....what i have been using earlier was puuting all the options in an array...and then comparing the selected value with all the elements ...and whichever matches ..that option was put as selected.
but i want other way...please help .
Bear Bibeault wrote:That code you downloaded looks pretty useless as it uses a lot of proprietary classes that don't exist in the Servlet/JSP environment.
Not surprising for a site named "dotnetspider.com", really. Reading a .Net forum for advice about Java programming isn't going to be particularly helpful.
Joined: Mar 26, 2009
ok fine....that's what i have been using...but i want to use the same way what is there on the link.....then how can i use it.....actually in my application there is such an requirement that i want to use the techique give on link page.
how can we handle it by hidden variable..can you show by a small example please...
and what if there are 7 -8 drop down list on the same page....in that case wil it be a good way to create so many hidden variables.