Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

The definition of "template text"

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ken Duncan
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic