With request dispatcher method forward a request cant be forwarded once its commited,it will throw illegalStateException,but there is no such restriction with request dispatcher include method.Is this true.I thought the restriction is there for both the methods.This is from SCWCD revision notes from ESNAULT.
For include method, you are still staying at the same resource. Its just that you are sending back more data from the included resource, so it doesn't matter if response is already committed because what you have already send back to client are defintely part of the whole response.
SCJP 1.5, SCWCD 1.4
posted 11 years ago
Thanks David,I got it
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
global solutions you can do at home or in your backyard