aspose file tools*
The moose likes JSP and the fly likes Can I use RequestDispatcher to open a new browser window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Can I use RequestDispatcher to open a new browser window " Watch "Can I use RequestDispatcher to open a new browser window " New topic
Author

Can I use RequestDispatcher to open a new browser window

Stephen Lee
Ranch Hand

Joined: Dec 11, 2001
Posts: 74
Is this possible, or any other method in a servlet that I can open a jsp page in a new browser window with the same request?
Thanks!
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Not using servlets..Find out if it is possible using javascript..
Originally posted by Stephen Lee:
Is this possible, or any other method in a servlet that I can open a jsp page in a new browser window with the same request?
Thanks!


Groovy
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

To accomplish this, you must direct the URL of the request to the new window via the window.open() Javascript method.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I use RequestDispatcher to open a new browser window