Hello,
I have made an application with the jpct for personal training.
My application is in the form of applets.
Use a server made with a library called hn2n (library made
by a group at a university here in Brazil) that receives these two
customers via an IP and port.
When I try to connect clients to the server using netbeans IDE, the connection is made without problem.
netbeans, I get no problems.
But when I try to connect two clients through the browser (Internet
firefox, google chrome) believe that customers can not find the
server.
My html file is:
<html>
<head>
<title>Petrobras_Simulador</title>
</head>
<body>
<body background="" bgcolor="black">
<p align=center>
<applet code="org.lwjgl.util.applet.AppletLoader"
archive="lwjgl_util_applet.jar, lzma.jar" codebase="." width="800" height="600">
<param name="al_title" value="dist">
<param name="al_main" value="atep.GameAgente">
<param name="al_logo" value="appletlogo.png">
<param name="al_progressbar" value="appletprogress.gif">
<param name="al_jars"
value="hn2n.jar,
ServerATEP.jar,
jpct.jar,
ATEP_Rodrigo.jar,
lwjgl.jar.pack.lzma,
jinput.jar.pack.lzma,
lwjgl_util.jar.pack.lzma,
res.jar.lzma">
<param name="al_windows" value="windows_natives.jar.lzma">
<param name="al_linux" value="linux_natives.jar.lzma">
<param name="al_mac" value="macosx_natives.jar.lzma">
<param name="al_solaris" value="solaris_natives.jar.lzma">
<param name="al_version" value="1.0">
</applet>
</p>
</body>
</html>
Remember that this same application in the form of applet, I could connect to my database through the netbeans IDE without problems. But when he tried the connection by the browser could not. Has anyone come across this problem or know how to solve?
Thanks in advance.