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
Renu Radhika
Ranch Hand
Joined: Oct 21, 2005
Posts: 243
posted
0
Thanks David,I got it
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.