File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Help with displaying XML string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Help with displaying XML string

Gaurav Pawar
Ranch Hand

Joined: Sep 12, 2006
Posts: 37
I have a bean that parses the data in an XML file, prepares a string and passes it to a JSP Page. When i am to display this string in the browser it shows me the output in the format
[#text: abcd][#text: efghi].

Please can anyone suggest how do i rectify this?

When i run the bean alone i see the output as "abcd" and "efghi".

[ October 24, 2006: Message edited by: Bear Bibeault ]
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Gaurav, you have already asked this question in the XML and Related Technologies forum. Please do not cross-post questions in JavaRanch as it leads to redundant duplication of effort.

Also please note the request to change your invalid display name that I posted there.
I agree. Here's the link:
subject: Help with displaying XML string
It's not a secret anymore!