I think you should reload your page with this new param set. the first
time country = all for your second list and when you reload
your page with country = france :) you can then load only those cities
for the second list. If you don't want to reload yur page, you should
have store all informations (all cities for all country) and then use
javascript code to update your list using an onChange event.
Hope I understood your question
veronique
"Aggarwal, Pawan" a écrit :
>
>
> Hi All,
>
> Can you people suggest me something..
>
> I am using a servlet which displays 2 drop down boxes...
> If I make a selection in the first one then I need to update the
> filter list in the second one...
>
> For example if the first dropdown is for Country ..
> Now the moment I select any country without refreshing/changing the
> page
> I want the second dropdown to be updated with the cities in that
> country only...
>
> How can I do that?
>
> Thanks,
>
> ==========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets