-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jeffrey,

On 6/12/18 1:21 PM, Jeffrey Beckstrom wrote:
> Do I enter this information into a GUI or directly into a file. If
> a file, what file? This may seem basic but have never touched
> Tomcat before.
>>>> Mark Thomas <ma...@apache.org> 6/12/18 11:39 AM >>>
> 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.

You'll want to edit your web application's META-INF/context.xml file.

If no such file exists, create a new one with this in it:

<Context>
</Context>

Then nest everything else inside that XML element wrapper.

- -chris

>>>>> 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=logi
tem&mail_id=1528744019-gV-baVzK1ou7&r_address=jbeckstrom%40gcrta.org&rep
ort=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
> 
> 
> ----------
> 
> 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=logi
tem&mail_id=1528817962-Ncrr7YHBFuFg&r_address=jbeckstrom%40gcrta.org&rep
ort=1
>
> 
> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlsgB2oACgkQHPApP6U8
pFgmYA//YZpc1vRGdk8t0GGKquEmhj/9e8ok685VUHnKS2e2W8OHRb9Akwbilss9
uNCvxe+Scmd2QQvjVqaxk0FCZFqp8QuXIEoQdvZmsan+YIV7L6uh/fTfIepT/eqU
XgfA5IDAQ1KtdDidNBH/nh7SppxsmTmigp6mvT56ik+E2+l89uW0K76zr9sDM/GI
S96IueOsEip576xlSC27f4SypXmf7c9LZPeNy1gUBElgQx4pmLWGDDzEDQ6Vjty/
se37tjRc3B/iGbddH9rUh5YJ9d5tpirbqKzBOup8tQbfeIz814M6c40jI4OUtICV
m26Ae5i+DUTHwVsH4pF0T2DEEvBbeIqA6yfruKtpcpVXBJOSCHWcvxVy73lOr0Ce
SqGGGklMpD3Xc4kV8XpdAjr5s+lJniCavpP3E2HKlh5N5gGMEV+C9efqaNyC6Jwq
YS5d7TWd8BbxNXDtffWuS3hzYNbeOotWLhZTNUlbiq/Xbe1ZB7j4okkCoVCvSLG7
mgYMMJtEX2JxqN2fTgPe4Mo4XU9CnTRhZnIYJFWUFbkjeprPRGbnQssVP6mCWZzu
um2ANMOvZGS2l8KnY8CVxO43XLscwi5KxBtvz3hZGVPyH+h6MxeaVn/K/xCqwUJk
idwNzNJXUUUl1+BW5Rosx5V4KamPvppSYPuB/0CSK9AGbZAyTSg=
=MaX7
-----END PGP SIGNATURE-----

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

Reply via email to