in java script
location object is there...
location .href u can call jsp...
and pass the parameter also...
try this and let me know...
thx and

regards
suriya
*Q  try for everything     Q*

Suriya narayanan V
Software Engineer
Contech Software Ltd
E-3/1,2,3, GIDC Electronics Estate,
Sector - 25, Gandhinagar - 382 044, INDIA
Tel.    : +91(2712) 44989/43324/43328
    (R)  : 91 - 79 - 6746164
fax    :+91 (2712) 24468

Email         :[EMAIL PROTECTED],[EMAIL PROTECTED]
URL           : http://www.contechgroup.com
HomePage :     http://www.suriyan.org



-----Original Message-----
From:   Anu Pidaparti [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, July 26, 2000 9:50 PM
To:     [EMAIL PROTECTED]
Subject:        How to call a servlet from a javascript function?

Can anyone provide me an example of how to do this? I have seen the
archives and learnt that this can be done but I didn't find an
example. More specifically, I need to populate one listbox based on a
selection in another listbox and I need to make trip to the server to
get the data.

Thanks.

Anu

===========================================================================
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

Reply via email to