aspose file tools*
The moose likes Java in General and the fly likes java.net.MalformedURLException for applet url 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 » Java in General
Bookmark "java.net.MalformedURLException for applet url" Watch "java.net.MalformedURLException for applet url" New topic
Author

java.net.MalformedURLException for applet url

Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 52
I have signed my applet and it is in jar.

I have added the below code in my jsp to embedd applet



but I get below exception

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39409
    
  28
Try starting the URL with file://C:\...
It obviously needs a protocol e.g. http: or ftp, and I think the protocol for something already on your computer is file:// (but I am not certain).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.net.MalformedURLException for applet url