So am I doing something wrong?


                                                                                       
                                                       
                    "Pernica,                                                          
                                                       
                    Jan"                 To:     [EMAIL PROTECTED]        
                                                       
                    <pernica@dcb.        cc:                                           
                                                       
                    cz>                  Subject:     RE: JSP and Javascript           
                                                       
                                                                                       
                                                       
                    05/31/01                                                           
                                                       
                    07:40 AM                                                           
                                                       
                    Please                                                             
                                                       
                    respond to                                                         
                                                       
                    tomcat-user                                                        
                                                       
                                                                                       
                                                       
                                                                                       
                                                       




JSP behaves as a normal HTML/servlet page

On Thursday, May 31, 2001 2:41 PM, [EMAIL PROTECTED]
[SMTP:[EMAIL PROTECTED]] 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.







Reply via email to