Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception getting while calling getContentText() method..

843834Nov 5 2005 — edited Nov 5 2005
Hi,

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 ..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2005
Added on Nov 5 2005
2 comments
167 views