File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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

HFSJ - Mock Up Q22, including static content

Peter Mueller

Joined: Mar 22, 2007
Posts: 1

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,
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

[My Blog]
All roads lead to JavaRanch
wood burning stoves
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?