This content has been marked as final. Show 3 replies
I'm no guri, but I don't think you can reference a jar'ed resource from outside the jar.
I think you'll need to copy the pdf to a web-acessible folder under your application's domain directory.
I suppose you could add that "copy" step somewhere in your web-app's startup... that way you can just ship your war, and every time the web-app is loaded it'll create that file... you could even put an exists check in there to save re-copying a perfectly good file.