This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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: 60071
    
  65

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
 
Similar Threads
How to show word file in IE with JSP coding
Display pdf in browser
jsp page appears in xml tree format. how can i fix this?
JSF chart and Chinese font
JSP to RTF renders as text