wood burning stoves 2.0*
The moose likes Struts and the fly likes result type xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "result type xml" Watch "result type xml" New topic

result type xml

peter leigh

Joined: Jun 01, 2008
Posts: 5
I'm trying to get the result of my action to be an xml file. I have the java classes producing a string with the xml file and then I pass this result to a jsp file which is:

<%@ taglib prefix="s" uri="/struts-tags" %>
<s roperty value="response" />

where response is the xml as a string. However, instead of the '<' and '>' characters I get html code '<' and '>'.

Could anyone please tell me how to get the result to stay as a string with '<' and '>' characters.

Peter Leigh
peter leigh

Joined: Jun 01, 2008
Posts: 5
Hi, maybe someone knows how to store the result into a String in the jsp file? Ive tried various combination but nothing has worked so far. Is there are correct way to do something like the following:

<%@ taglib prefix="s" uri="/struts-tags" %>
<%String s = %> <s roperty value="response" /> <%;%>

Don't get me started about those stupid light bulbs.
subject: result type xml
Similar Threads
HELP ME��� XML RPC doubt
my code gives the wrong hash value
how to implement XML-RPC
XML-RPC Problem
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement