Hi All,
I�m getting a peculiar problem in a java servlet program which I developed. I�ll explain it now.
I developed an application with w3c.dom parser (for parsing xml information) in java. When I execute my program as a stand alone java program, it is getting the results properly. But when I tried to integrate into a Servlet, it is not getting the proper results. Mainly the following statement (number 2) is getting problem,
1. Element root = doc.getDocumentElement();
2. String response = root.getChildNodes().toString();
In Java servets, the string variable �response� value is getting null. But if I execute the same as a normal (i.e. stand alone) java program then it is getting the results properly. I�m not getting the reason why it is getting null when I execute as a servlet program. If any body can help me in solving this then it will be a great help for me.
Thanks in advance.
[ December 17, 2005: Message edited by: Ravi Sengodan ]