Hi
I got struck. can anyone help. I have written a java file to 
parse a xml file. I am using two methods Get and Post to send 
the url and queryString (parameters). I am retrieving the 
same xml with both methods. The xml retrieved in both cases 
is ill formed. Means that one of the ending tags has no 
delimiter. like </abc.   ">" is missing.

When I use "GET" method that has url like
www.abc.com?abc="bdsb";
it gives me a error saying tag abc should have a ">" 
delimiter.

when I use "POST" method that has url like
www.abc.com

I post the query string as 

URLConnection.setDoInput(true);
DataOutputStream out = new DataOutputStream
(con.getOutputStream());
out.writeBytes("abc= sdbsjb");

I parse the xml file with

domParser.parse(new InputSource(xmlFile));
Document document = domParser.getDocument();
The problem is with "GET" it gives an error saying tag should 
have a delimiter .

this error doesn't come with "POST".
the xml file is same as verified on the console.

can anybody help me in knowing how to get the message 
in "POST" also.

Thanks
vijay

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to