• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag file declaration

 
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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!