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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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>
Consider Paul's rocket mass heater.
subject: Skip a unavaible resource
Similar Threads
Is editing of client copy of jnlp file possible when using JWS?
signed jar-file gives error "Found unsigned entry in Resource"
Signing JNLP - Where does JNLP-INF directory go?
Doesn't work properly of my JNLP webstart
jnlp works in windows but not in linux