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 could be that include directive modify output? 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 "could be that include directive modify output?" Watch "could be that include directive modify output?" New topic
Author

could be that include directive modify output?

Perla Ricardez
Greenhorn

Joined: Jan 07, 2005
Posts: 5
hi all,

i found in a free simulator this statement regarding SCWCD exam:

"Directives do not produce any output
into the current output stream "

but, i believe that include directive could modify
the output stream, what do you think about?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
I think it's a horrible question --- why would you put anything in a JSP file if it didn't have some relation to the output ??? Technically the include directive just does a static include of some snippit into your JSP file, but since it's static and output streams are only modified at runtime, I suppose, technically speaking, it doesn't modify the output, since there's no output at compile-time.

Blah. Just chalk it up as a stupid question and move on. You won't find questions like this on the exam. Just know what the directives are, why you use them, what the results are, and that's it.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Perla Ricardez
Greenhorn

Joined: Jan 07, 2005
Posts: 5
thanks for your comments, it's helpful,

I had not considered a reasoning as you have done

greetings
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: could be that include directive modify output?