1 posts in topic
Flat View  Flat View

Posted By:   donge_m
Posted On:   Tuesday, May 14, 2002 12:54 PM

The Server is WebSPhere 4.0. Sometimes i see the JSP Page display getting overlapped.It happens once in a while. Any one has any idea ?



Posted By:   Narayana_murthy  
Posted On:   Tuesday, May 14, 2002 09:27 PM

i had encountered the same problem some time back. and
after some R&D i found out the solution.

But i have forgotten some details. anyway u can guess the
correct solution after reading my answer.

what is happening is that you are using either
response.sendRedirect("someFile.jsp") or you are using
RequestDispatcher to redirect to another page .

interchange resonse.sendRedirect to RequestDispatcher or
vis versa and then try.

If the problem exists then u have to refine your code such
that when either one of the above statement is
encontered in your JSP page ,u should stop precessing the
remaining part of the JSP.

The reason is that when a request is sent from jsp to
server and the response is committed , then in between if
you try to redirect then it compltes the first request
and then processes the 2nd request from the redirected page.

Hope u find this info useful. Please send a feedback if my facts are right or wrong


About | Sitemap | Contact