dimanche 6 octobre 2019

Best practice to serve static files on Tomcat intgrated with Apache

If using Tomcat integrated with Apache (web server), how should I setup to make Apache serve all static files (html, png, css, ...) in my war file deployed in webapps? Use symbolic link? I would like to do nothing after re-deploy my war including updated static files file if possible.

For example, if all elements of my application in webapps are:

  • my-app/app.jsp
  • my-app/html/index.html
  • my-app/images/log.png
  • my-app/css/app.css



Aucun commentaire:

Enregistrer un commentaire