My OS: Windows NT 4.0 (with Java Web Server)
I programmed Applet-Servlet-DB program.
When I ran my program with internal IP address with port number(let
say 8383:I changed in admin.), it worked just fine.
But, when I ran it with public IP, it didn't work. Seemed like my
applet couldn't find right port number of servlet.
In my applet, I worte as below:
Socket socket = new Socket(getCodeBase().getHost,
Integer.parseInt(getParameter("socketPort)));
Whenever I start my windows, I have to compile and run my servlet
file for connection between servlet and applet... I wonder it always
does originally even though there is class file.
Also, after I change port number in admin. for running applet, my
servlet should be on run.... I think this is something weird.
I don't know anything about port and socket.... so I don't know
what is going on in my program.
Please, somebody, or anybody help me~~~~~~~~~~
Send FREE April Fool's Greetings to your friends!
http://www.whowhere.lycos.com/redirects/American_Greetings.rdct
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html