This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso 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 The Software Craftsman this week in the Agile 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: 62292
    
  68

None. The former is rarely used.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: <jsp:directive.page contentType='application/javascript' /> vs <%@ page contentType='applicatio