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
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879746#3879746
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879746
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user