This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in page attribute" Watch "Doubt in page attribute" New topic

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.

SCJP 91%, TOFAG 9 certified 89%
I agree. Here's the link:
subject: Doubt in page attribute
It's not a secret anymore!