File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes executing the appletviewer command without manually using the command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "executing the appletviewer command without manually using the command prompt" Watch "executing the appletviewer command without manually using the command prompt" New topic
Author

executing the appletviewer command without manually using the command prompt

jNeha Jain
Greenhorn

Joined: Sep 09, 2010
Posts: 3
I have made an applet which uses a policy file in order to run. Hence I have to use the command :

appletviewer -J-Djava.security.policy=policyFileName Applet.html

I wish to upload the applet on a server. Also, I do not want any client who wishes to run the applet to go through the hassles of running the applet through the command line. Rather, I want to make it as simple as running on a click of a button. Can anybody please help me out how to go about in order to achieve it..?.

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42280
    
  64
Why don't you sign the applet, so that people can just run it from your web page?


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: executing the appletviewer command without manually using the command prompt