File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Need Help ---  Response XML Tag Value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need Help ---  Response XML Tag Value" Watch "Need Help ---  Response XML Tag Value" New topic

Need Help --- Response XML Tag Value

Manikandan Sundaramoorthy

Joined: Apr 09, 2009
Posts: 12

This is my response Xml file i need to read the "Return_Msg" tag value(Hai)

I'm trying with below code but its returning NullPointerException

i don't know how to parse the xml tag please help me
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 36453
XML is discussed on a different forum, but NullPointerExceptions here.

Please go through the stack trace and work out which object is null. It is impossible to solve that problem without the stack trace.
I agree. Here's the link:
subject: Need Help --- Response XML Tag Value
Similar Threads
New to Java
XML Parse
Unable to get the correct data from the XML file
help with web service to display xml file contents using netbeans
Storing SAX Parser data into MySql