Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about sendRedirect  RSS feed

 
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!