aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Opening a JSP page in dialogue window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Opening a JSP page in dialogue window" Watch "Opening a JSP page in dialogue window" New topic
Author

Opening a JSP page in dialogue window

Rohit Sajan
Ranch Hand

Joined: Jun 15, 2006
Posts: 34
Hi

I have a JSP page where in a link is there. When I click on the link a dialogue box opens up with some links. When I click on the link in the dialog box a new JSP page opens now, instead I want to open the new page in the dialog box itself. Any idea how to do that?

rgds
Madhavan C Chidambaram
Greenhorn

Joined: Jun 09, 2006
Posts: 1
Originally posted by Saju Pappachen:
Hi

I have a JSP page where in a link is there. When I click on the link a dialogue box opens up with some links. When I click on the link in the dialog box a new JSP page opens now, instead I want to open the new page in the dialog box itself. Any idea how to do that?

rgds


Hi,
In the pouped up jsp link just spesify the target attribute with #(it means that it will open in the same window)



Regards
madhavan
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The opening of new browser windows is handled in the client; not on the server with JSP.
Moving to the HTML/Javascript forum.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
you talking about window.open?

Eric
 
jQuery in Action, 2nd edition
 
subject: Opening a JSP page in dialogue window