On 11/06/2018 20:11, Jeffrey Beckstrom wrote:
We would go with the latest which appears to be 9. Google found articles for V7 and one that said it changed in 8 but did not describe the change.

You want http://tomcat.apache.org/tomcat-9.0-doc/config/resources.html

You'd add something like this:

<Resources>
  <PostResources base="W:\some\path"
            className="org.apache.catalina.webresources.DirResourceSet"
          webAppMount="/"/>
</Resources>

Which would make the content of W:\some\path visible at the root of the web application. Note that normally handling will apply. So, for example, anything named *.jsp will get treated as as JSP page.

HTH,

Mark


Mark Thomas <ma...@apache.org> 6/11/18 3:06 PM >>>
On 11/06/18 19:58, Jeffrey Beckstrom wrote:
 > We are looking at migrating from Glassfish to Tomcat. In Glassfish, we
 > created alternatedocroot_N entries to map a path in Glassfish to a
 > windows drive.
 >
 > How do we perform a similar function in Tomcat?

Tomcat version? (it changed between 7.0.x and 8.0.x)

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


----------

This email has been scanned for spam and viruses. Visit the following link to report this email as spam:
https://attseg.cloud-protect.net/index01.php?mod_id=11&mod_option=logitem&mail_id=1528744019-gV-baVzK1ou7&r_address=jbeckstrom%40gcrta.org&report=1




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to