The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on sendRedirect() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt on sendRedirect()" Watch "Doubt on sendRedirect()" New topic

Doubt on sendRedirect()

Ranch Hand

Joined: Oct 09, 2003
Posts: 517

"The forward slash at the begining means root of this web-app".

Is it correct?can anyone explain?


God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
Bharat Roy
Ranch Hand

Joined: Jul 01, 2004
Posts: 156
Either provide the full URL or remove the / from the beginning.
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
I got the answer from HFSJ errata list.(
It says
"The forward slash at the beginning means "relative to the root of the web container."

I agree. Here's the link:
subject: Doubt on sendRedirect()
It's not a secret anymore!