File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes tag body-content JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "tag body-content JSP" Watch "tag body-content JSP" New topic

tag body-content JSP

Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Dear All,
'.tld' file contains .
Can someone please give me example which shows how invoke a tag with body-content as JSP.
Documentation says it can have anything that can go inside JSP. Does it take a whole jsp page, or include
directive, or standard action. What exactly it takes.

Regards, Sharmila.
We will have a future if we save Nature!
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Try to write a scriptlet or a JSP expression inside the body.

[My Blog]
All roads lead to JavaRanch
Łukasz Suchecki
Ranch Hand

Joined: Aug 04, 2009
Posts: 55
and remember - you can have JSP body-content only for Classic Tags (tag files and Simple tags CAN'T have JSP body-content)
Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Thanks Łukasz,Christophe
Will check it now
I agree. Here's the link:
subject: tag body-content JSP
jQuery in Action, 3rd edition