• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSPFragment content

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In the custom tag development, I understand from the HFSJ book that we can specify one among four different values for <body-content> in TLD (empty, scriptless, tagdependent & JSP). But on page 512 of the book, second paragraph says "JSPFragment is that it must NOT contain any scripting elements!". When I use <body-content> JSP, I think I can use scripting in the tag body, can't I? Please clarify me.

Thanks and Regards,
Naren
 
Vishwanath Krishnamurthi
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Naren,

Yes those four values apply to Classic Tags
However, for simple tags, you've got just three... JSP is not for SimpleTags

Check this
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much Vishwanath.

Can you please let me know if there are any known ambiguities like this one?

Thanks and Regards,
Naren
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic