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
精彩评论