appletviewer to html page
I am new to java development and I created an applet that reads and writes to a database. I have given the applet runtime and property permission using the policy tool. When using appletviewer it works fine but I would like to know if someone can point me the the right direction as to how I can go about running this code from an html page.
the policy name is "profile" and the name of the html page is "appletTester.html"
The following is the appletviewer command:
appletviewer -J-Djava.security.policy=profile appletTester.html
I would appreciate any help you can give me.

