• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I use RequestDispatcher to open a new browser window

 
Stephen Lee
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To accomplish this, you must direct the URL of the request to the new window via the window.open() Javascript method.
hth,
bear
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic