• Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirecting  RSS feed

 
victor kamat
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody help with this:

1. How do I redirect the client to a website outside:
do I use response.sendRedirect(url);

2. If the client s/b redirected to a file on my server how do I do that:
ex. the file is say ROOT/error.html ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by victor kamat:
If the client s/b redirected



s/b?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37252
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Victor,
How would you express both of those cases in a normal link? That is the same as the URL you would pass to the redirect.

In the future, please UseRealWords. "should be" is clearer than "s/b" even if English is your native language. Some international users may not be familiar with abbreviations. And a blind person would hear that as "ess slash bee" - which is a lot less clear!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Personally, I had no idea what s/b meant.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!