Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag file declaration  RSS feed

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm preparing for SCWCD 5 certification and came across this question, for which I'm not convinced with the answer provided in "Head First Servlets & JSPs". Can someone please clarify me?

Q) Fill in what would you must put into a Tag File to declare that the Tag must NOT have a body? (Page 548 of the book)
A) <%@ tag body-content="tagdependent" %>

I expected the answer would be <%@ tag body-content="empty" %>


Thanks and Regards,
Naren
---------------------
SCJP - 93%
SCDJWS - 89%
SCDWCD - ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, as you said, I would expect that too.
It's listed in the errata.
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow! Thanks Chris. I didn't know about the errata. Now, I'll have a look through.

Cheers.

Thanks and Regards,
Naren
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!