how could the applets communicate with the server from which it has emerged .....?? I want my applet to communicate with the Tomcat web container .... how is it possible ... wont it give rise to any security exception??
No, communicating with the server that served the applet is allowed. The standard way is probably HTTP (using an URL and an URLConnection), but applets can also use a Socket.