File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Groovy Fundamentals video training course this week in the Groovy 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
Saloon Keeper

Joined: Apr 07, 2010
Posts: 1986
    
  39

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
 
Don't get me started about those stupid light bulbs.
 
subject: how to define content type in tag files