aspose file tools*
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 Spring in Action this week in the Spring 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: 39436
    
  28
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need Help --- Response XML Tag Value