wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in page attribute 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 "Doubt in page attribute" Watch "Doubt in page attribute" New topic
Author

Doubt in page attribute

V Gala
Ranch Hand

Joined: Aug 06, 2007
Posts: 113
Difference between
<%@ page contentType="image/svg" %>
<%@ page pageEncoding="image/svg" %>

Are page Atttribute Case-sensitive
<%@ page CONTENTTYPE="image/svg" %>
is valid?
Nitin Vashishtha
Ranch Hand

Joined: Mar 26, 2008
Posts: 31
page Atttributes are Case-sensitive
hence <%@ page CONTENTTYPE="image/svg" %>
will not work and will through a 500 server error(jsp invalid attribute: CONTENTTYPE) when you will run your jsp page.


Nitin
SCJP 91%, TOFAG 9 certified 89%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt in page attribute
 
Similar Threads
Regarding SVG's
problems in showing images in jsp with contentType= application /msword
Xalan for SVG
svg plugin download
Creating frameset in jsp