This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread 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 Head First Android this week in the Android 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: 43368
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
jQuery in Action, 3rd edition