This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need Help ---  Response XML Tag Value" Watch "Need Help ---  Response XML Tag Value" New topic
Author

Need Help --- Response XML Tag Value

Manikandan Sundaramoorthy
Greenhorn

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
Sheriff

Joined: Oct 13, 2005
Posts: 38412
    
  23
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.
 
 
subject: Need Help --- Response XML Tag Value