Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tags

 
nikitha aedma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone tell me the default <body-content> for tags if nothing is mentioned in the TLD.
I know it is scriptless for tagfiles.

Thanks,
nikitha
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

For the old custom tags it is JSP. For Simple tags assummed scriptless.

Thanks
 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do classic tags have a default value ? Thought we need to specify them explicitly.
 
Alexander Kolesnikov
author
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the default for classic tags is JSP, check it in specs.
 
agrah upadhyay
Ranch Hand
Posts: 579
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the reason for this difference-?
Thanx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic