HTML tags are getting converted
问题 I have the following code snippet to have output from XML data which is stored in the database table ServletOutputStream os = response.getOutputStream(); String contentDisposition = "attachment;filename=Test.HTML"; response.setHeader("Content-Disposition",contentDisposition); response.setContentType("text/html"); XMLNode xmlNode = (XMLNode)am.invokeMethod("getDataXML"); ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); xmlNode.print(outputStream); ByteArrayInputStream