• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why use redirect="true"

 
Tahir Akram
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi;

Why should we use redirect="true", if I remove this tag my action forwarding works fine.
So why we specifically need this? Can some one educate me on this.



Thanks in advance.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tahir Akram wrote:Why should we use redirect="true"


it is nothing but response.sendRedirect("url") [making new request to the browser]. you better watch the address bar(url) of the browser for both cases.

Hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic