Exception getting while calling getContentText() method..
843834Nov 5 2005 — edited Nov 5 2005Hi,
My name is Sudheesh and I am working on a web project which uses J2ee and struts framework. My application server is JBOSS 4.0.
I am currrently working on a module in which XML parsing is required. I am using DOM parsing for it. But while parsing i am getting an exception when i am trying to retrieve the text content of nodes using getTextContent() of org.w3c.dom.Node.
I tried it as a console pgm and it works fine.
I am getting the name and type of the nodes. But not able to get the content because of the Exception.
Your help and suggestions solicited..
Thank you,
Sudheesh K S ..