• Post Reply Bookmark Topic Watch Topic
  • New Topic

about sendRedirect

 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i am passing "http://www.javaranch.com" to sendredirect so what should be my browser url
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ravindra patil:
when i am passing "http://www.javaranch.com" to sendredirect so what should be my browser url


it should be http://www.javaranch.com as this is a redirect , if you would have used dispatcher.forward then you could expect the current URL.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try it?
What URL was in your browser's address window?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!