This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 9351
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ESNAULT's notes doubt