Simplest way to serve static data from outside the application server in a Java web application

tomcat

service.xml

<Context docBase="/path/to/images" path="/images" />

resin

resin.conf

 <host id="" root-directory=".">
      <web-app id="/" root-directory="D:/resin-pro-3.1.10/webapps/ROOT/"/>
      <web-app id="/upload" root-directory="D:\upload"/>
 </host>
 

http://*.com/questions/1812244/simplest-way-to-serve-static-data-from-outside-the-application-server-in-a-java

上一篇:Oracle EBS-SQL (BOM-16):检查多层BOM.sql


下一篇:Linux中 tr 命令详解