Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

could be that include directive modify output?

 
Perla Ricardez
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Perla Ricardez
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your comments, it's helpful,

I had not considered a reasoning as you have done

greetings
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic