This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
It's not a secret anymore!