Wrap the default servlet but override the default webapp path

后端 未结 6 1943
故里飘歌
故里飘歌 2020-12-10 20:33

I have a folder of static html,imgs,flash content that lives outside of the webapp folder. Right now I\'m using a symbolic link to map that folder into my webapp directory.

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-10 21:35

    I have open-sourced a custom servlet that serves files from an arbitrary base path. Additionally, it supports file browsing inside nested compressed archives.

    It's available here: https://bitbucket.org/teslamotors/zip-listing/overview

提交回复
热议问题