Hi all Have a look at the following progrm My Applet
When i call the servlet through a Browser i get the following Exception...
"Protocal Doesn't support the output" When i called the servlet throug consloe(by running applet) I get File not found exception
Please let me know what is the problem thankx priya [ June 17, 2003: Message edited by: Cindy Glass ]
posted 13 years ago
Hi priya, sorry but your code is working fine. I only get the exception if I run it inside the IDE. in this case the getCodeBase returns an incorrect protocol (file://). Set the URL to a complete address like http://localhost/EchoServlet. Then it works inside the IDE or locally. HTH Torsten