1.in my computer,
applet or *.jsp use rmi is OK,in other computer ,*.jsp is OK,Applet hava question:
java.lang.ExceptionInInitializerError: java/lang/SecurityException
at sun/rmi/server/RemoteProxy.getStub
at java/rmi/registry/LocateRegistry.getRegistry
at java/rmi/registry/LocateRegistry.getRegistry
at java/rmi/Naming.getRegistry
at java/rmi/Naming.lookup
at hello/HelloApplet.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
2.my java.policy file is :
grant {
// Allow everything for now
permission java.security.AllPermission;
permission java.net.SocketPermission "192.168.73.103:1024- 65536"accept, connect, listen, resolve";
};
Thank you!!!