Atul
2008-10-25 13:03:45 UTC
so as to grant permission to my applet i have used the following method
content of file: accs.txt
-------------------------------------------------------------------------------------------------
grant {
permission java.lang.RuntimePermission
"accessClassInPackage.sun.jdbc.odbc";
permission java.util.PropertyPermission
"file.encoding", "read";
};
----------------------------------------------------------------------------------------
and used this command:
appletviewer -J-Djava.security.policy=accs.txt searchtm.java
its working fine and showing output
but what i actually needed my program on web browser so i made html file with following code in it
search.html
--------------------------------------------------------------------------------------------
SEARCH
---------------------------------------------------------------------------
when i open my search.html it shows me the gui
but when i click on button it did not show me the output(i want it for local machine)
how to make it show the output on my search.html file as it was showing in applet by using appletviewer
plzzzz helpp
thanks in advance