I have an issue and I cannot solve it, even if I know that Maven deals with it. I have been looking for a solution for a long time and I cannot find it anywhere. I even tried to find some Maven tutorials but I haven't found anything yet.
So the problem appears when I want to deploy my application to Tomcat. Everything goes smooth until I want to modify something in it. It has a lot of images, files, video files, because it's a small portal. Every time I want to modify something I have to backup all this stuff in my computer and only after that i can run the undeploy process so that I can upload the new .WAR and it gets very unconfortable as the data grows. I would be very thankful if someone has a开发者_如何学Python solution to this problem. My projects are performed in Struts/Struts2+Spring+Hibernate. Thank you
Consider using a content repository for images and external resources; look at LifeRay or Alfresco or Sling, or Communique for solutions in this space, or look at JackRabbit for implementing the client of a repository yourself. It's actually pretty easy, and very scalable.
精彩评论