<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
To all,
<p>Should I be able to do the following: (I want to read from a socket
I have opened and send that directly to the builder)
<p><tt>I am getting the following compilation error:</tt><tt></tt>
<p><tt>"CommerceServerStatus.java": Error #: 314 : cannot access class
org.xml.sax.InputSource; neither class nor source found for org.xml.sax.InputSource
at line 123, column 28</tt>
<br>
<p><tt>try {</tt>
<br><tt> _csConnection = new Socket(mCommerceServerName,
sCommerceServerPort);</tt>
<br><tt> _outBoundRequest = new PrintWriter(_csConnection.getOutputStream(),
true);</tt>
<br><tt> _inboundData = new BufferedReader( new
InputStreamReader(_csConnection.getInputStream()));</tt>
<br><tt> } catch (UnknownHostException unknowHostException)
{</tt>
<br><tt> System.err.println("Don't now about
host: " + mCommerceServerName);</tt>
<br><tt> } catch (IOException ioException) {</tt>
<br><tt> System.err.println("Couldn't get
I/O for the connection to :" + mCommerceServerName);</tt>
<br><tt> }</tt>
<p><tt> _outBoundRequest.println(sStatusRequest);</tt>
<p><tt> // Build the JDOM Document</tt>
<br><tt> Document doc = builder.build(_inboundData);</tt>
<p>Thanks.
<p>--sean
<p>--
<br>Sean Shanny
<br>Principal Software Engineer
<br>eZiba.com
<br>phone: 413-664-9999 ext. 146
<br>fax: 413-664-9990
<br>e-mail: sshanny@eziba.com
<p>Shop <A HREF="http://www.eZiba.com">http://www.eZiba.com</A> where every object tells a story.
<br> </html>