How to call JavaScript from servlet code ?

2000-02-21 Thread Farooq Shaikh
Hi All I need to access a servlet from a link. A servlet method is called which redirects to a JSP page. Normally without the servlet in between I would call JSP from javascript like so : Edit  But since I need the servlet to intervene and call the JSP itself, is there anyway to acheive the s

Re: How to call JavaScript from servlet code ?

2000-02-21 Thread Karl Roberts
Hi, Why not try http://your_host:port/servlet/path_to_your_servlet"> here is the link This will open a new browser window (providing that there isn't one called "aNewWindow" already ) which will contain the response from the servlet you need. Presumably your servlet will do some work and the

Re: How to call JavaScript from servlet code ?

2000-02-21 Thread Farooq Shaikh
-Original Message- From: Karl Roberts [mailto:[EMAIL PROTECTED]] Sent: Monday, February 21, 2000 9:34 AM To: [EMAIL PROTECTED] Subject: Re: How to call JavaScript from servlet code ? Hi, Why not try http://your_host:port/servlet/path_to_your_servlet"> here is the link This wil