• Post Reply Bookmark Topic Watch Topic
  • New Topic

HFS p404 jsp:include diagram 4 query  RSS feed

Roger Yates
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFS p404, diagram 4 shows the moment at which the contact servlet class does the dynamic include of header.jsp.
The notes describing the diagram say
"NOT SHOWN: At some point the Header.jsp is translated and compiled, then the generated servlet class is loaded and initialized."

The diagram shows header.jsp translating to contact_jsp.java and compiling to contact_jsp.class. Should this be Header.jsp translating to Header_jsp.java and compiling to Header_jsp.class, but then this would conflict with the notes? Surely Contact_jsp won't be recompiled on the fly whilst it is already running and processing a request, having already been compiled as shown in diagram 2?

My best interpretation of this is that the Header.jsp translation/compilation pictures were added during some revision (with error in naming for the .class and .java) but the notes saying NOT SHOWN were inadvertently left in.

Please correct me if I've misunderstood or confirm if I understood correctly!

SCJP 1.2, 1.4
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!