hi
in our application I am using the following code(it is in the Action Class):
if(page.equals("car")) response.sendRedirect("userInfo.do");
if(page.equals("flight")) response.sendRedirect("trip.do?action=checkAuth");
if(page.equals("hotel")) response.sendRedirect("hotelBooking.jsp");
if(page.equals("deal")) response.sendRedirect("dealBook.do");
but it is giving Invalid State Exception: can't forward after response has been committed