• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SimpleTagSupport doubt

 
Brijesh shah
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following statements are true of custom tags that are created by extending the SimpleTagSupport class.

Choose at least one answer.
a. Such tags cannot have a bodycontent type of JSP
b. Such tags cannot have EL expressions in the body
c. Such tags cannot be deployed with attributes
d. Such tags do not need to to be configured in the deployment descriptor

My ans is A, D...but in mock exam ans is only A...Why not D..because it is not necessary tag to be configured in the deployment descriptor..Correct me if i am wrong.
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't find anything about custom tags that are created by extending the SimpleTagSupport class that cannot have body-content as JSP. I did not find any thing related to this in the book or in the spec. PLease any one clear this doubt.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic