when i am running my applet code through eclipse IDE ,it is working fine ,But when i am running through html file it is giving following errors,
java.security.A ccessControlExc eption: access denied (java.lang.Runt imePermission
getenv.AGSENGIN EJAVA)
at java.security.A ccessControlCon text.checkPermi ssion(AccessCon trolConte
xt.java:323)
at java.security.A ccessController .checkPermissio n(AccessControl ler.java:
546)
at java.lang.Secur ityManager.chec kPermission(Sec urityManager.ja va:532)
at java.lang.Syste m.getenv(System .java:827)
at com.socp.compon ents.CIDSSView. bootstrapArcobj ectsJar(CIDSSVi ew.java:6
56)
at com.socp.compon ents.CIDSSView. init(CIDSSView. java:126)
at sun.applet.Appl etPanel.run(App letPanel.java:4 24)
This is my html code,
*************** *************** *************** *******
<html>
<body>
<applet code=com.socp.c omponents.CIDSS View.class
archive="CIDSS. jar,arcobjects. jar"
width="200" height="200" >
</applet>
</body>
</html>
*************** *************** *************** *******
Note:
My both the jar files are signed
I tried to invoke this applicatioin through appletviewer with java policy file ,it is working fine ,only problem is I m not able to invoke this application from HTML file..
Please help me out to resolve this issue.
Thanks in advance,
Arockiaraj
java.security.A ccessControlExc eption: access denied (java.lang.Runt imePermission
getenv.AGSENGIN EJAVA)
at java.security.A ccessControlCon text.checkPermi ssion(AccessCon trolConte
xt.java:323)
at java.security.A ccessController .checkPermissio n(AccessControl ler.java:
546)
at java.lang.Secur ityManager.chec kPermission(Sec urityManager.ja va:532)
at java.lang.Syste m.getenv(System .java:827)
at com.socp.compon ents.CIDSSView. bootstrapArcobj ectsJar(CIDSSVi ew.java:6
56)
at com.socp.compon ents.CIDSSView. init(CIDSSView. java:126)
at sun.applet.Appl etPanel.run(App letPanel.java:4 24)
This is my html code,
*************** *************** *************** *******
<html>
<body>
<applet code=com.socp.c omponents.CIDSS View.class
archive="CIDSS. jar,arcobjects. jar"
width="200" height="200" >
</applet>
</body>
</html>
*************** *************** *************** *******
Note:
My both the jar files are signed
I tried to invoke this applicatioin through appletviewer with java policy file ,it is working fine ,only problem is I m not able to invoke this application from HTML file..
Please help me out to resolve this issue.
Thanks in advance,
Arockiaraj