*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes how to define content type in tag files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "how to define content type in tag files" Watch "how to define content type in tag files" New topic
Author

how to define content type in tag files

av kumar
Greenhorn

Joined: Apr 17, 2013
Posts: 4
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
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1634
    
  23

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.

Regards,
Frits
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to define content type in tag files
 
Similar Threads
Dynamic Attributes
Looping StringBuffer
Tag files
tagdependent value for the body-content element
Readonly unmodifiable collection