What write() method are you talking about? Did you check the API?
Regards,
Frits
Balaji Bang
Ranch Hand
Joined: Apr 23, 2007
Posts: 180
posted
0
Am talking about PrintWriter write method. Will this write() causes IllegalStateException if we are trying to do a forward and the response is already commited.
Am talking about PrintWriter write method. Will this write() causes IllegalStateException if we are trying to do a forward and the response is already commited.
According to the API the write() method will never throw a IllegalStateException.
What will throw an IllegalStateException is the forward on a committed response. Did you check this thread?