hi all, I want to have 2 dependent drop downs i.e if i change the value in one then it affects the list of the other. We dont want the page to be refreshed eveytime so we want to use javascript for it. i got some help in asp for writting the server side javascript. the idea was to generate a array on the server side and the dependent drop down gets the list from this array. problem 1: one of the file had <Script runat="server"> what should i do in jsp for this. i tried some tricks but didnt work out. this helps in creating a text file on the server side which would be included in the file that runs at client. problem 2: when i try to include a file and then use the functions defined in that file, jsp engine throws compilation error. does anyone know any other place where i can get some help or can anyone help me out ........please. thanks. sumit. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. =========================================================================== 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