File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes <jsp:directive.page contentType='application/javascript' />   vs  <%@ page contentType='applicatio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "<jsp:directive.page contentType= Watch "<jsp:directive.page contentType= New topic
Author

<jsp:directive.page contentType='application/javascript' /> vs <%@ page contentType='applicatio

Kasun Wixkramanayake
Ranch Hand

Joined: Feb 09, 2010
Posts: 74
what is the difference between


<jsp:directive.page contentType='application/javascript' />
and


<%@ page contentType='application/javascript' %>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61760
    
  67

None. The former is rarely used.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <jsp:directive.page contentType='application/javascript' /> vs <%@ page contentType='applicatio