开发者

Beginner servlet deployment question: how to make third-party library access files in .war?

I get "Error opening ... file ... (No such file or directory)". However I do开发者_开发问答 not control the file access - a third-party library is trying to open a file in the .war.

It works fine when using an open directory structure on my own computer.

My question is: is normal file access supposed to work within a .war? If not, should I just deploy a directory instead of a .war? Or is there a better way?

Am using glassfish.


.war file should be unpacked by your (application) server, so your third-party lib should operate with files from unpacked .war.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜