-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 7/17/18 10:36 AM, Chris Cheshire wrote:
> James, this can be done using something like the following
> configuration in your META-INF/context.xml (I use tomcat 8.5)
>
> className="org.apache.catalina.webresources.DirResourceSet"
> bas
Thank you!
Had some problems but I was able to research the issues and find a
solution to what I was doing wrong. I did not have a "/cdn/ROOT"
directory, mine is "/webapps/ROOT". The Resource section needs to be
with-in the Context section and not after it. My original context.xml
file only had
James, this can be done using something like the following
configuration in your META-INF/context.xml (I use tomcat 8.5)
I use this to serve files at /images because they are dynamic content
and not part of the war itself. Make sure the directory specified by
"base" has read and write permis
Hello all,
What is the best practice under Tomcat to create a data file and then
allow the client to download it?
So far all my attempts have failed. If the Java app can write it then
the client can not download, if client can download then the Java app
can not write it.
Does Tomcat have a prov