Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Directives do not produce any output to the current output stream

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

"Directives do not produce any output to the current output stream". This is a statement from one of the mock exams hosted in j2eecertificate.com. They pointed it out as a correct statement about directives. But I saw in SCWCD Study kit and some other websites that DECLARATIONS are the one that do not produce any output to the current output stream. Thats my observation too. Could someone else please clarify this?.

Thanks.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe neither of them product output. :roll:
 
S Subramonyan
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ya, may be. But don't you think directives "indirectly" produce output to the current outputstream? like in include directives?
 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is clearly evident that DECLARATIONS do not produce output. Also, I would say DIRECTIVES also do not produce output.

Remember, the INCLUDE directive includes the file at translation time only. In other words, it's not producing any output when the page is being processed.
 
S Subramonyan
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,

I was confused. If the exam asks something like this, I would say, both directives and declarations do not produce any output.
 
reply
    Bookmark Topic Watch Topic
  • New Topic