A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Web Component Certification (SCWCD/OCPJWCD)
how to define content type in tag files
Joined: Apr 17, 2013
Apr 19, 2013 12:17:50
Any body please let me know how to include content Type in tag files. In jsp we can achieve using page directive, but how we can achieve in tag files.
thanks in advance
Creator of Enthuware JWS+ V6
Joined: Apr 07, 2010
Apr 20, 2013 12:55:27
You can't as a Tag file is not a page.
You will use a tag (defined in a Tag file) inside a page where you can set the content type.
I agree. Here's the link:
subject: how to define content type in tag files
Readonly unmodifiable collection
tagdependent value for the body-content element
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014