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 The definition of 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 "The definition of "template text"" Watch "The definition of "template text"" New topic
Author

The definition of "template text"

Ken Duncan
Ranch Hand

Joined: Apr 30, 2007
Posts: 42
In the Head First JSP chapter's Coffee Cram, I'm trying to figure out the meaning of "template text." Later in the book, this seems to refer to things you would put in all the time, like page headers and footers. In the Coffee Cram exam, however, it appears to refer to anything that is not a JSP element, i.e., plain HTML. Since this is presumably on the real exam, what is the precise, technical definition of "template text"? I haven't seen one in the book nor have I seen one in a spec. I'm wondering, in fact, if the book is not enough and I need to try to memorize the spec, given that even this Coffee Cram asks about a DD element that the book has not yet covered? Thanks.

Ken
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

In the Head First JSP chapter's Coffee Cram, I'm trying to figure out the meaning of "template text." Later in the book, this seems to refer to things you would put in all the time, like page headers and footers.
What page is "later in the book" on?

In the Coffee Cram exam, however, it appears to refer to anything that is not a JSP element, i.e., plain HTML.
There's more than one JSP chapter, but I happened to find that question 11, option C, on page 338 is probably what you're talking about.

Since this is presumably on the real exam, what is the precise, technical definition of "template text"? I haven't seen one in the book nor have I seen one in a spec.
I don't think you'll find that term on the exam, but if you do I think you can roughly translate it to "anything involving static content". Or here's another way to define it, which I found with a quick search on "template text".

I'm wondering, in fact, if the book is not enough and I need to try to memorize the spec, given that even this Coffee Cram asks about a DD element that the book has not yet covered?
Which DD element might that be? I can't find one in the Coffee Cram that isn't covered. It would be helpful to know so that it could be corrected in the next version of the book.


A good workman is known by his tools.
Ken Duncan
Ranch Hand

Joined: Apr 30, 2007
Posts: 42
Originally posted by Marc Peabody:
In the Head First JSP chapter's Coffee Cram, I'm trying to figure out the meaning of "template text." Later in the book, this seems to refer to things you would put in all the time, like page headers and footers.
What page is "later in the book" on?


P. 398

In the Coffee Cram exam, however, it appears to refer to anything that is not a JSP element, i.e., plain HTML.
There's more than one JSP chapter, but I happened to find that question 11, option C, on page 338 is probably what you're talking about.


Yes, that's right.


Since this is presumably on the real exam, what is the precise, technical definition of "template text"? I haven't seen one in the book nor have I seen one in a spec.
I don't think you'll find that term on the exam, but if you do I think you can roughly translate it to "anything involving static content". Or here's another way to define it, which I found with a quick search on "template text".

I'm wondering, in fact, if the book is not enough and I need to try to memorize the spec, given that even this Coffee Cram asks about a DD element that the book has not yet covered?
Which DD element might that be? I can't find one in the Coffee Cram that isn't covered. It would be helpful to know so that it could be corrected in the next version of the book.


Well, unless I missed something, which I hope not because the exam is all about the tiny details, jsp-property-group is first encountered in the Coffee Cram exam on p. 328. I had to go to Google to even figure out if this was a valid DD element. I didn't see it listed separately in the index and it's not listed in the index on p. 840 under DD. So I'm wondering if I need to go to the spec so that I can find a list of all valid DD entires, for both JSPs and servlets. Thanks.

Ken
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Tags in the index are listed at the beginning of the index. <jsp-property-group> is there and points to page 319.
Ken Duncan
Ranch Hand

Joined: Apr 30, 2007
Posts: 42
Originally posted by Marc Peabody:
Tags in the index are listed at the beginning of the index. <jsp-property-group> is there and points to page 319.


Thanks for the pointer. I see that it is there on the page, but not disussed. I guess I just need to read all the examples more closely then, for other things that might be present but not discussed.

Ken
 
 
subject: The definition of "template text"
 
Similar Threads
which is the right book.
a small query
Coffe Cram in HeadFirst -JSP and Servlets
Cleared SCWCD with 89%
My Last Coffee Cram!