I have written an applet, which will recieve user name and password, from the client and send those information to my servlet, which is present under the same server.
I am using URL object to connect with my servlet.
eg. URL u = new URL(MyIp:8080/servletpath/
When i run this applet with netscape navigator it works well, but while testing with appletviewer, throws an exception
could any one tell me what is wrong.
the html is given below
" code="login.class" height=200 width=200></applet>