File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 14687
    
  16

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


[My Blog]
All roads lead to JavaRanch
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: HFSJ - Mock Up Q22, including static content
 
Similar Threads
HFSJ final mock exam question
RequestDispatcher to include static page
Include static content in a JSP
HFS Mack Exam Q22 - Page 772 - ResquestDispatcher - Is the answer correct?
Doubts/errata in HFSJ final mock exam?