Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag files question

 
Anna Wang
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, everyone,

Can anybody explain the question in HFSJ (p501)

Fill in what would you must put into a Tag file to declare that the Tag must Not have a body.
the answer is: <%@ tag body-content="tagdependent"%>

I checked the book tagdependent means the body-content will be treated like plain text. That means CAN have a body, right?

Thanks a lot for your help.

Anna
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should be "empty".

See the previous discussion here:
http://www.coderanch.com/t/168178/java-Web-Component-SCWCD/certification/HFS-page-Sharpen-your-Pencil
 
Kenny Yan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also check out the errata here:
http://www.oreilly.com/catalog/headservletsjsp/errata/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic