Is it possible/how to embed and access HTML Files in a JAR?

前端 未结 2 1967
情歌与酒
情歌与酒 2020-11-29 12:39

i am somewhat blocked right now: i wrote a quite complex Java Desktop App (no Applet/Web App!) which has it\'s own \"user Manual\". This manual consists of some HTML and JPG

2条回答
  •  一个人的身影
    2020-11-29 13:09

    Once you have the URI you are turning it into a File and then back to a URI and then to a URL. You might have better success by simply turning the URI into a URL

提交回复
热议问题