*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 37953
    
  22
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
cannot open applet in firefox
Executable Jar file: Not working after being embedded within a html page?
Applet in JSP
My applet is not being seen in its jar anymore. Please help!
Applet loads from i dont know where