This is code you mentioned where i am getting java.lang.illegalstate exception only if the query condition return false and the response is redirected.
Thanks & Regards
Ayyappan
Vijay Jeyam
Greenhorn
Joined: Nov 12, 2008
Posts: 15
posted
0
Make a break and then redirect to the page. You cannot redirect when the response is commited
Never Never Never Give Up...!!!
ayyappan Bas
Ranch Hand
Joined: Oct 11, 2008
Posts: 37
posted
0
Vijay Jeyam wrote:Make a break and then redirect to the page. You cannot redirect when the response is commited