|
Hi folks!!!
I am getting this FileNotFoundException when I try
to connect to a servlet from an applet....
My servlet directory is registered in webapps dir.
of tomcat4
My code is as follows...
I am sure that its something related to the
directory structure.
The applets & servlets r in the same
directory...i.e. in web-inf/classes/
URL url = new URL(getCodeBase(),
"/ChatServlet");
URLConnection con =
servlet.openConnection();
con.setDoInput(true); con.setDoOutput(true); con.setUseCaches(false); con.setRequestProperty("Content-Type", "application/x-java-serialized-object"); I am on deadline...
Actually this code works on a standalone m/c with
JavaWebServer2.0.....but after porting it to Tomcat it gives me this
error.....
On the server prompt it gives me some INVOKER error
and "chatservlet not currently available" error....
what could be the problem???
Please help ASAP...
Thanks & Regards,
Kaustubh.
Revert Back to : [EMAIL PROTECTED]
|
