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: