servlet call sendRedirect and get java.lang.IllegalStateException
843842Nov 12 2009 — edited Nov 17 2009search the web but seems found no result about my situation.
basically I have two 3 jsp and 2 servlet in between.
the 2 servlet both call sendRedirect to redirect to next jsp.
the problem is,
if I finish the normal flow and go back to 1st jsp(via link or browser back button) and re-execute the flow,
the sendRedirect in the servlet (one or both) will throw java.lang.IllegalStateException
if close the brower to restart the flow, everything goes fine.
anyone can advise?
thks