hello guys i have this jsp file which i like to load an XML file, so that i
can manipulate later.
i'm using jdom classes to do so. i have a java class that works perfectly,
but i can't run it in jsp.
(i'm using Jaguar CTS)
my jsp file and the xml file are in the same directory, when i load this
page it gives

500 Servlet jspservlet: unable to service request: tree.xml: tree.xml
Server:Jaguar Server Version 3.6 Connection:Keep-Alive

<HTML>
<BODY>
<%@ page
import="java.io.*,java.util.*,org.jdom.*,org.jdom.input.*,org.jdom.output.*"
%>

<%
DOMBuilder dom = new DOMBuilder();
Document doc = dom.build (new File ("tree.xml"));
%>

</BODY>
</HTML>

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to