Hi,
The behaviour of sendRedirect is not according to SPEC or HFSJ.
In the
servlet( or
jsp), i wrote into printwriter object and commited
the response by using flush method. Then after that if i am using sendRedirect("/one.jsp"), Its not throwing
IllegalStateException.
???
And my another quest is HFSJ is saying that
if we use sendRedirect("/one.jsp"), the containe will look for one.jsp in
/doc-root/ (i.e /doc-root/one.jsp) . But its not happening.
???
I am using
Tomcat 5.0
--------------
SCJP1.4 91%