<P>Hi earlier today, I had posted a request for help with some application to Servlet using xml over http scenario.. I am attaching code of the three pieces here, I am facing a java.io.FileNotFoundException and I am lost</P>
<P>Attached is the code and below is the console output of the same along with PrintStackTrace output</P>
<P><FONT color=purple>Message === Constructing the xml stream<BR>XMLOUtputter created<BR>After serialize--&gt;&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;session&gt;<BR>&nbsp; &lt;!--Session Element --&gt;<BR>&nbsp;&nbsp; &lt;resource&gt;session&lt;/resource&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;useridElement&gt;kris&lt;/useridElement&gt;<BR>&nbsp; &lt;passwordElement&gt;kris&lt;/passwordElement&gt;<BR>&lt;/session&gt;</FONT></P>
<P><BR><FONT color=purple>WESERVER STRING ---&gt;http://kmuthyal/servlet/MyServlet?xml=&lt;?xml version="1.0" encoding="UTF-8"?&gt;<BR>&lt;session&gt;<BR>&nbsp; &lt;!--Session Element --&gt;<BR>&nbsp; &lt;resource&gt;session&lt;/resource&gt;<BR>&nbsp; &lt;useridElement&gt;kris&lt;/useridElement&gt;<BR>&nbsp; &lt;passwordElement&gt;kris&lt;/passwordElement&gt;<BR>&nbsp; &lt;/session&gt;</FONT></P>
<P><BR><FONT color=purple>Connecting to servlet...<BR>Connected<BR>Message === Sending the request to the servlet...<BR>Complete.<BR>Message === reading response ...<BR>Message === java.io.FileNotFoundException: </FONT><A href="http://kmuthyal/servlet/MyServlet??xml=<?xml"><FONT color=purple>http://kmuthyal/servlet/MyServlet??xml=&lt;?xml</FONT></A><FONT color=purple> version="1.0" encoding="UTF-8"?&gt;<BR>&lt;session&gt;<BR>&nbsp; &lt;!--Session Element --&gt;<BR>&nbsp; &lt;resource&gt;session&lt;/resource&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;useridElement&gt;kris&lt;/useridElement&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;passwordElement&gt;kris&lt;/passwordElement&gt;<BR>&nbsp; &lt;/session&gt;<BR>&nbsp;<BR>&lt;/session&gt;<BR>Message === readServletResponse problem<BR>java.io.FileNotFoundException: </FONT><A href="http://kmuthyal/servlet/MyServlet??xml=<?xml"><FONT color=purple>http://kmuthyal/servlet/MyServlet??xml=&lt;?xml</FONT></A><FONT color=purple> version="1.0" encoding="UTF-8"?&gt;<BR>&lt;session&gt;<BR>&nbsp; &lt;!--Session Element --&gt;<BR>&nbsp; &lt;resource&gt;session&lt;/resource&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;useridElement&gt;kris&lt;/useridElement&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;passwordElement&gt;kris&lt;/passwordElement&gt;<BR>&nbsp; &lt;/session&gt;<BR>&lt;/session&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at post.Post.readServletResponse(Post.java:196)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at post.Post.init(Post.java:80)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at post.Post.main(Post.java:217)</FONT></P>
<P><FONT color=purple>Any suggestions?</FONT></P>
<P><FONT color=#800080>Thanks</FONT></P>
<P><FONT color=#800080>Kris</FONT></P>
<P><FONT color=purple>&nbsp;</P>
<P><BR></P></FONT><BR><BR><P>&nbsp;</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>concern for a cleaner world, for a better tomorrow </P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://www.greenpeace.org">http://www.greenpeace.org</A></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://personal.mail.yahoo.com/?.refer=mailiyfoot">Yahoo! Mail Personal Address</a> - 
Get email at your own domain with Yahoo! Mail.