• Post Reply Bookmark Topic Watch Topic
  • New Topic

redirect a request to another Web site

 
kri shan
Ranch Hand
Posts: 1480
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i redirect a request to another Web site ?.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want the response sendRedirect method. It must be called before anything has been written to the response or you will get a IllegalStateException.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!