Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Skip a unavaible resource

 
Marco Lombardo
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic