File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Skip a unavaible resource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Skip a unavaible resource" Watch "Skip a unavaible resource" New topic

Skip a unavaible resource

Marco Lombardo
Ranch Hand

Joined: Jul 05, 2005
Posts: 71
I have an application with jnlp file.
The file check the url in the tag
<jnlp spec="1.0+" href="resourceX" codebase="resourceY"> , but when
the resource is unavailable the application crashes (exception wrapped in the consolle is java.IOException).
Is it possible to skip this check and run the offline code (when the resource above is unavaible)?

Team Leader<br />SCJP, SCBCD , SCDJWS, Oracle WebLogic, IBM WebSphere e IBM FileNet Certified<br /> <br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Skip a unavaible resource
It's not a secret anymore!