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 Doubt in page attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in page attribute