wood burning stoves 2.0*
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 Java 8 in Action this week in the Java 8 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: 36566
    
  16
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
 
Similar Threads
Applet loads from i dont know where
My applet is not being seen in its jar anymore. Please help!
Executable Jar file: Not working after being embedded within a html page?
cannot open applet in firefox
Applet in JSP