use window.open()
mhrao
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 6:11 PM
Subject: JSP and Javascript
> Can I open a Jsp from the JavaScript OPEN function?
> For example I want to open a jsp from a html form when a button is
pressed.
> The code looks like this:
>
> <input type = button value = "Update" onclick = "open
> ('igce/jsp/update.jsp?testParam=1222','newwindow')">
>
> When I press the button, Netscape opens up a download file dialogue box.
>
> I can run the jsp alone but not in an HTML page. All the examples I have
> seen have html run a servlet and the servlet forwards the JSP.
>
> Thanks
>
> Jeff Sulman
>