K
Karan Mehta
Hi All,
I have an applet embedded in a HTML file being displayed in IE or any
net Browser. The applet lets me view some images that are coming from
some place on hard disk,and are passed as parameter to the applet. The
problem is that i encounter and error {Exception: access denied
(java.net.SocketPermission hglpc024 resolve)}
.. Here is the HTML file i try to see in the explorer as
http://localhost:8080/<the path where file is located>
<HTML>
<HEAD>
<TITLE>
DICOM Viewer
</TITLE>
</HEAD>
<BODY>
<APPLET
CODEBASE = "."
CODE = "dicomviewer.Viewer.class"
NAME = "Viewer.java"
WIDTH = 100%
HEIGHT = 100%
HSPACE = 0
VSPACE = 0
ALIGN = middle >
<PARAM NAME = "dicURL" VALUE =
"http://hglpc024/DICOM/jsp/dicomviewer/Dicom.dic">
<PARAM NAME = "imgURL0" VALUE =
"http://hglpc024/DICOM/jsp/data/sample.dcm">
</APPLET>
</BODY>
</HTML>
I have an applet embedded in a HTML file being displayed in IE or any
net Browser. The applet lets me view some images that are coming from
some place on hard disk,and are passed as parameter to the applet. The
problem is that i encounter and error {Exception: access denied
(java.net.SocketPermission hglpc024 resolve)}
.. Here is the HTML file i try to see in the explorer as
http://localhost:8080/<the path where file is located>
<HTML>
<HEAD>
<TITLE>
DICOM Viewer
</TITLE>
</HEAD>
<BODY>
<APPLET
CODEBASE = "."
CODE = "dicomviewer.Viewer.class"
NAME = "Viewer.java"
WIDTH = 100%
HEIGHT = 100%
HSPACE = 0
VSPACE = 0
ALIGN = middle >
<PARAM NAME = "dicURL" VALUE =
"http://hglpc024/DICOM/jsp/dicomviewer/Dicom.dic">
<PARAM NAME = "imgURL0" VALUE =
"http://hglpc024/DICOM/jsp/data/sample.dcm">
</APPLET>
</BODY>
</HTML>