wood burning stoves 2.0*
The moose likes JSP and the fly likes XML syntax not as HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "XML syntax not as HTML" Watch "XML syntax not as HTML" New topic
Author

XML syntax not as HTML

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
Hi, I've tried to write JSP page in XML syntax and when I run it, the internet browser shows it as an XML document althought it is an HTML document. I don't know how to force the browser to display it as a regular HTML page.

browsers, MSIE 6.0, Opera 9
run by NetBeans 5.5 with bundled Tomcat

Any suggestions?
 
jQuery in Action, 2nd edition
 
subject: XML syntax not as HTML