Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

diff btwn encodeURL and encodeRedirectURL  RSS feed

 
Srikanth shetty Nukala
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
--encodeURL and encodeRedirectURL--

Both of these from Response encode URL's i.e add sessionid to the url.

HFSJ says it does url rewriting and if u want to redirect the request to some other servlet/jsp and still use the session use encodeRedirectURL.

Can anyone tell the difference in the working of these two functions?..

thanks
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This thread may helpful to you.

Thanks
 
Srikanth shetty Nukala
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey thats a gud redirection....thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!