Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in default in simple tags..

 
narendra bhattacharya
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is given that classic tags can have <body-content> default vale JSP.

what about simple tag (as JSP in not a valid <body-content> value for it.)
 
Herman Pomstra
Greenhorn
Posts: 7
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSP 1.2 the default was JSP. Since JSP 2.0 there is no default defined in the specs. (See specs: <xsd:complexType name="tagType">)

Regards
Herman
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!