The default permissions for applet is very limited, so you should either have a .java.policy file or sign the applet using a certificate to give it the required permission.

Spring 3