I believe that the HTTPURLCOnnection throws a
java.io.FileNotFoundException in the case where a web server returns a 404.
Look at your access logs and request
http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO via the
browser and see what happens.
-Tim
kz wrote:
Hi,
I am working on an application that involves applet-servlet communication.
The problem is that when Tomcat is listening at 8001, then I get an
exception when I do connection.getInputStream() in applet. When I switch to
port 8080, the problem gets solved. Heres the exception:
java.io.FileNotFoundException:
http://localhost:8001/servlet/WESFWDataLink_BRK.class?DLCT=EO
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at WES.Agents.SiteDataLinkAGT.CallDataLinkServiceAtServer(
SiteDataLinkAGT.java:303)
at WES.Agents.SiteDataLinkAGT.establishOfficeSession(SiteDataLinkAGT.java
:283)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]