aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes ESNAULT's notes doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "ESNAULT Watch "ESNAULT New topic
Author

ESNAULT's notes doubt

Renu Radhika
Ranch Hand

Joined: Oct 21, 2005
Posts: 243
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.
PRavi kumar
Ranch Hand

Joined: May 13, 2007
Posts: 69
Include is not part of SCWCD exam
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9427
    
    2

Yes, there is no such restriction with the include method...


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
david lee lee ck
Greenhorn

Joined: Jun 25, 2007
Posts: 4
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
Thanks David,I got it
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ESNAULT's notes doubt