Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

c:redirect

 
Shruthi Karthick
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can some one explain me about c:redirect and its purpose.
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is the JSTL equivalent of the sendRedirect() method of javax.servlet.http.HttpServletResponse.



See http://www.ibm.com/developerworks/java/library/j-jstl0318/ for more details
 
Shruthi Karthick
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know <c:url> does the functionality of response.encodeURL().
Whether <c:redirect> does functionality of reponse.encodeRedirectURL(). I mean URL rewriting for redirect URL?
[ March 28, 2008: Message edited by: Shruthi Karthick ]
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think url rewriting will be supported.
As mentioned "It is the JSTL equivalent of the sendRedirect()" and not reponse.encodeRedirectURL().
Please correct me if I am wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic