Hello Julia!

VPJ>         DocumentBuilder docBuilder = docBuilderFact.newDocumentBuilder();
VPJ>         Document doc = null;
VPJ>         doc = docBuilder.parse(_xml_string);

VPJ> The problem is that when execution gets to the line
VPJ>          doc = docBuilder.parse(_xml_string);

This is from javadocs for javax.xml.parsers.DocumentBuilder:
(you get them together with the jdk1.4.x):

public Document parse(String uri)

so _xml_string is interpreted as on uri. If you want to parse
as string do it differently:

doc=docBuilder.parse(new InputSource(new StringReader(_xml_string)));

VPJ> I get a 404 error in my browser.
??? I would expect a 500 and a stack trace in the browser window
(or an error page if you have any)
(Use Netscape to read messages, IE hides them if they are short)

- Anton
[EMAIL PROTECTED]
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to