E. Pagotto

Greenhorn
+ Follow
since Dec 20, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by E. Pagotto

Hello,
I created a servlet that response an XML reply to a XML request on the
url.
The code for response is the following:


String xml = getXml(request, response);
response.setContentType("text/xml");

OutputStream out = response.getOutputStream();
out.write(xml.getBytes());
out.flush();
out.close();


The problem is that it works with Apache JServ 1.1 for Windows, but it
doesn't work with JServ 1.1 for Solaris; this is the response result:

<HTML>
<BODY>
</BODY>
</HTML>

Why this?
Thanks in advance for any suggestion.
Bye,

E.P.
[ December 20, 2004: Message edited by: E. Pagotto ]
19 years ago