This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ - Mock Up Q22, including static content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ - Mock Up Q22, including static content" Watch "HFSJ - Mock Up Q22, including static content" New topic
Author

HFSJ - Mock Up Q22, including static content

Peter Mueller
Greenhorn

Joined: Mar 22, 2007
Posts: 1
Hello,

taking HFSJ mock up exam I noticed that there might be a mistake in the given answers in the answers of question 22.
It asks for, how you would include static content in a JSP.

One of the answers is (Answer C):
using <jsp:include action...

As far as I know, static content should be included using the include directive. Sure, you can also include it at runtime with jsp:include. But this question explicitly asks for including static content. Furthermore, using a RequestDispatcher is considered wrong (Answer D), which would be an include at runtime.

Thank you very much in advance,
Peter
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

http://www.coderanch.com/t/174264/java-Web-Component-SCWCD/certification/Final-Mock-Exam-HFSJ


[My Blog]
All roads lead to JavaRanch
 
Have you checked out Aspose?
 
subject: HFSJ - Mock Up Q22, including static content
 
It's not a secret anymore!