You may check the following things

What version of JRE you are using ? because Jaguar 3.5 supported 1.1.8 or below
, it was not compatible with 1.2.2

So if you have multiple version of the JDK on your box , the class files may
seem to work because they are using a newer version.

Is tree.xml located in a folder that is visible to Jaguar.

If you made any classpath changes and have not restarted the Jag server , try
doing that , because Jaguar loads classes when it starts and does not recognize
class path changes until it is restarted.


Santosh









Sebouh <[EMAIL PROTECTED]> on 01/24/2001 04:26:35 AM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  Help in JSP using jdom



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

===========================================================================
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