wood burning stoves 2.0*
The moose likes Servlets and the fly likes How can I do to send XML flow using servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How can I do to send XML flow using servlets" Watch "How can I do to send XML flow using servlets" New topic
Author

How can I do to send XML flow using servlets

Rabih Nassrallah
Greenhorn

Joined: Sep 28, 2001
Posts: 1
First I am new in Java technologies and I need to send an XML flow using servelets. Can anyone guide me.
thanks


Computer Engineer
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
The only trick to this is setting the content type according to what the application you are sending to expects. Also, some applications may want to have the content length set. Look in the HttpServletResponse documentation. Be sure to set those values before you start writing the XML.
Bill
------------------
author of:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I do to send XML flow using servlets
 
Similar Threads
problem in struts validation
Servlet returning an XML
Websphere Message Broker 6: trying to send email
doPost() question
can it be possible to write xml doc into a string variable?