• Post Reply Bookmark Topic Watch Topic
  • New Topic

response.sendRedirect to a new window?  RSS feed

 
Michael Greifenkamp
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there. I am using response.sendRedirect to forward a JSP to a new address if an incorrect password/username combination is entered. I was hoping to send it to a new window, a la "target=_blank" but don't know if there's a way to do that with JSP.
Thanks in advance for any help/advice.
Mike
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

When I asked a similar qstn in the past, the gurus
suggested that I should use javascript.
something like window.popup()
regds.
- satya
 
Michael Greifenkamp
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much!
Mike
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!