how to do applet to servlet communication