File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "XML syntax not as HTML" Watch "XML syntax not as HTML" New topic

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?
I agree. Here's the link:
subject: XML syntax not as HTML
It's not a secret anymore!