Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to display XML inside JSP without parsing

807601May 26 2008 — edited May 27 2008
Hi Friends,
I have an XML packet that i would like to display on the JSP as-is without parsing, but the JSP is parsing that XML packet and not displaying anything.
I tried changing the content type from "text/html" to "text/xml" but it did not worked.

So, can someone please tell me what needs to be done to display the xml packet as-is e.g.
<element>
<one a="true">
</element>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 24 2008
Added on May 26 2008
4 comments
1,101 views