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
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: 42929
    
  68
Why don't you sign the applet, so that people can just run it from your web page?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: executing the appletviewer command without manually using the command prompt