Hi Jose,
Many thanks for investigating this, i have logged an issue to track the
fix [1].
Jose Antonio Illescas del Olmo wrote:
> Paul, Do you think that getResource() is better alternative than
> getRealPath()?
>
No because the URL returned by getResource() could have many different
types of scheme (protocol) and we can really only reliably support
'file' or 'jar:file', where as getRealPath() returns something
unambiguous, an absolute path or a null value. Furthermore WebLogic is
currently in the minority when compared to war deployment using GF,
Tomcat and Jetty.
IMHO if it is possible i would log a bug against WebLogic.
Paul.
[1]
https://jersey.dev.java.net/issues/show_bug.cgi?id=32
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109