Hi everybody,
I want to have more information to create a connection between an
applet and a
servlet. I'm using Resin , Resin works with HTTPS, i configured it with JSSE. I 'm in trouble to know if what i'm doing is correct or not ?
I do my connection in my applet as follow :
URL urlServlet = new URL("https://localhost/project/mainservlet?function=init");
URLConnection servletconnection = null;
if (web_version)
{
servletconnection = (HttpsURLConnection)urlServlet.openConnection(); }
else
{
servletconnection = urlServlet.openConnection();
}
Thanks for helping.