M
MiranL
Hello!
My code:
InputStream in = null;
URL url = new URL("http://my.url:80/myfile");
URLConnection connection = url.openConnection();
in = connection.getInputStream();
ObjectInputStream ois = new ObjectInputStream(in);
vFile = (Vector) ois.readObject(); // error
When i run this code in appletviewer i get no errors, but in browser in
get this message: access denied (Java.lang.RuntimePermission
accessClassInPackage.sun.swing)
In there any way to solve this problem without dig. signing the applet?
Or perhaps to use some alternative to ois.readObject()...
My code:
InputStream in = null;
URL url = new URL("http://my.url:80/myfile");
URLConnection connection = url.openConnection();
in = connection.getInputStream();
ObjectInputStream ois = new ObjectInputStream(in);
vFile = (Vector) ois.readObject(); // error
When i run this code in appletviewer i get no errors, but in browser in
get this message: access denied (Java.lang.RuntimePermission
accessClassInPackage.sun.swing)
In there any way to solve this problem without dig. signing the applet?
Or perhaps to use some alternative to ois.readObject()...