Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFSJ - Mock Up Q22, including static content  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!