Originally posted by William Brogden:
What exactly are you trying to accomplish by setting the property to null?
Thanks for replying Bill. I am
testing the application for all different values - which include all these:
1)assigning a string as value
conn.addRequestProperty("file","abcd.xml");
2)assinging an empty String as value
conn.addRequestProperty("file","");
3)assinging a null as value
conn.addRequestProperty("file",null);
and the program is breaking down for the 3rd condition - showing null for next header value as well.
Maggie