I've written a Blackjack card game that works with appletviewer locally on my PC. However, I get a security error when I upload it to my webserver. All the images are in a "cards" subfolder underneath the location of the class and html file. I've looked at the Javadoc and it seems like what I have should work, but when I compile I get the following error. Help!
Card.java:76: unreported exception java.net.MalformedURLException; must be caugh
t or declared to be thrown
URL location = new URL("http://www.billda.com/java/blackjack/" + filename);
Card.java:76: unreported exception java.net.MalformedURLException; must be caugh
t or declared to be thrown
URL location = new URL("http://www.billda.com/java/blackjack/" + filename);
