----- Original Message -----
Sent: Monday, July 12, 1999 9:32 PM
Hi James,
Am running a Servlet within a WebLogic
Application Server.My application is the same, where I accept input values
from the user and need to compare the contents of the Xml file and the
input.
My Xml file is of the following
structure
<M_Q_Criteria>
<Content>
<Row>
<Criteria/>
<Priority/>
<Redirect/>
</Row>
</Criteria>
</M_Q_Criteria>
When I read the XML file ,I need to access the
Row element within which I need to check the Criteria content.
I am using the following code piece,which runs
perfectly fine within a standalone.However gives me problems within
servlets.
DOMReader reader = new
DOMReader();
org.dom4j.Document
document = reader.read(doc);
Node
results=document.selectSingleNode("//Row[1]");
The error generated is sent as an
attachment.Kindly tell me where could I be facing a problem.
Minal.