This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I need to pass a Document Object from servlet to JSP: I basically parse the input Stream into a doc such as:: InputStream in = urlConn.getInputStream(); DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance(); DocumentBuilder db=dbf.newDocumentBuilder(); Document doc = db.parse(in); System.out.println("my doc "+ doc.toString()); // this gives me null???any ideas why? I need to pass doc to template.jsp and to process the doc on the template.jsp Thanks in advance
------------------ Sun Certified Java Programmer Sun Certified Java Developer I-Net Certified A+ Certified Network+ Certified MCP