Sponsored Link •
Legacy Java Answers Forum
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
urlconnection FileNotFound exception
Posted by ratna on April 11, 2001 at 2:45 PM
I am trying to connect to servlet using Tomcat server.
java.net.URL url = new java.net.URL("http://localhost:8080/servlet/ObjectEchoServlet");
java.net.URLConnection con = url.openConnection();
ObjectEchoServlet is in jakarta/webapps/examples/web-inf/classes
I am getting FileNotFound exception.