This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HFSJ - Mock Up Q22, including static content