Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I use RequestDispatcher to open a new browser window  RSS feed

 
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
Posts: 66184
146
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!