Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML syntax

 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
Did you ever tested it?
When you write JSP page in traditional syntax and want an HTML output, you don't have to specifie the attribute for the directive page, as text/html is the default value.
But when you write the same page (we should say document here) in XML syntax, you have to, because else the html that should be sent to output is readen by the browser as XML.
So you see XML in your browser instead of HTML.
If you then specify the value text/html for the attribute contentType in your page directive, all is OK..
This is not specified in the book SCWCD Exam Study Kit, but indeed happens with IE6, and I guess each web browser supporting XML...
It may be worth pointing it out.
Thanks,
Regards,
Cyril.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic