• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in page attribute

 
V Gala
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic