Hello:
My Application use a property file, loaded to a Property class (see
example). I need download this using JWS. My first attempt was use <resources>/<jar> tag:
But it did not work. When JWS launched my application, I got this message:
Bad MIME type returned from server when accessing resource: http://localhost:8080/teste/configdir/teste.properties - null
Probably JWS try downloaded this file like a binary one.
Someone suggest me to include property file in a jar file and load this in application using ClassLoader.getResourceAsStream(). But I preferred load this like a (text) File.
So my question is how download configuration or other helper files using JWS. Does JWS download only JAR files?
Thanks,