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 Missing files: com.ms.security.* and netscape.security.* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Missing files: com.ms.security.* and netscape.security.*" Watch "Missing files: com.ms.security.* and netscape.security.*" New topic
Author

Missing files: com.ms.security.* and netscape.security.*

Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 259
I am decompiling and recompiling an application that uses an applet and these to libraries are missing. I realize they are somehow associated to the signing of the applet but I currently do not have copies of them. Anyone know where I can get a copy?

Matt
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41020
    
  43
Both are way, WAY, obsolete. Neither Microsoft nor Netscape have a JVM any more, so the only way to sign applets is the official one described in the Sun JVM documentation. Some related info can be found in HowCanAnAppletReadFilesOnTheLocalFileSystem.


Ping & DNS - my free Android networking tools app
Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 259
I figured as much with my googling today...and with your post I checked the code one more time and this dawned on me:



if I'm writing code to replace this applet....why do I need this batch of code which is located in the init method?

I'm so hating hackin this app just get this enhancement installed just to be a stop gap before we upgrade the whole application.



I think I'm just going to forgo trying to find this and just refactor this so the code doesn't run....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41020
    
  43
Those statements do in a Microsoft/Netscape JVM what in a (these days) standard Sun JVM applet signing does. So if the applet is signed, none of that is necessary.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Missing files: com.ms.security.* and netscape.security.*
 
Similar Threads
Groovy Applet
how to pass parameters from a serlet to an applet
Pushing response back to a client
Applet not initiated
Applet not showing up in the browser