开发者

Scala/Lift - Cannot access image uploaded until jetty is restart

I created a file upload form, the form will take an image fi开发者_如何转开发le from user then save it in the webapp/images/ directory.

The problem is I cannot access the image uploaded by user until jetty is restarted.

Is there anything I should add to the code? Do I need to add anything on the sitemap?

Thanks for the help


try '~jetty-run' instead of 'jetty-run' when running the jetty server from sbt

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜