Hi Guys ,
Offlate i have been facing problems with <c:redirect> tag. What i am doing is:
1)Entry.jsp->This
JSP has a textbox and a submit button.
2)Error.jsp->This JSP is my errorHandler Page.
3)Hello.jsp->This JSP actually has the logic.
Now, What i want is , When the user does not enter anything in the textbox in Entry.jsp he is forwarded to Error.jsp which has an implicit object
exceptionwhich shows the error.
Its working fine ! But the place im puzzled is if the user is redirected to Error.jsp , Here i am redirecting the user again to Entry.jsp where he would again need to enter the details. So , In short i am doing this.
It gives the error saying "Unreachable Statement" and it says "out.write("/r")".. Can anyone of us please help me ?
Thanks in Advnnce.
Yogendra Joshi.