How do you create “Aliases” in Apache Tomcat?

前端 未结 3 1113
灰色年华
灰色年华 2021-01-02 07:34

I am working on a web application that allows users to upload attachments. These attachments are stored on a different drive than that of the web application. How can I cr

3条回答
  •  借酒劲吻你
    2021-01-02 08:12

    See the initial part of my newer question for ways to do this by editing the context.xml file How do I add aliases to a Servlet Context in java?. According to several people now, it is no longer necessary (2012: Tomcat 6 or 7) to use Apache for performance reasons over Tomcat for serving static content.

提交回复
热议问题