You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pernica, Jan" <pe...@dcb.cz> on 2001/05/31 14:40:31 UTC

RE: JSP and Javascript

JSP behaves as a normal HTML/servlet page

On Thursday, May 31, 2001 2:41 PM, Sulman.Jeff@epamail.epa.gov
[SMTP:Sulman.Jeff@epamail.epa.gov] wrote:
> 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


__________________________________________________________________
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.