Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet re-direct to a new window

 
Anthony Smith
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp that submits a form to a servlet and I would like the servlet to open a new window to display its output. How do I accomplish such a thing?
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should put a target into the form tag like this:


Rene
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!