Path mapping in Tomcat

Hi,

I’ve written an application for a customer running only with the express
version (one man show, no need for a webserver).

I’m using some mappings. Configured in the webadmin or application.cfc
works fine for cfm files. But also images and css are in a subdirectory
with a mapping.

The problem is: The images and stylesheet can’t be found because the
mapping path is not found for the static files.

I’m sure I can tell Tomcat to serve also the static files via a mapping,
but I can’t find any documentation for Tomcat how to do this.

Has someone has a hint for me where to do the setting in Tomcat?

Thanks!
Michi

use Tomcat’s DefaultServlet:
https://tomcat.apache.org/tomcat-7.0-doc/default-servlet.html

note that the filenames are CaSe sensitive even on Windows.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 5/21/2015 12:21 PM, ‘Michael Hnat’ via Lucee wrote:

Hi,

I’ve written an application for a customer running only with the
express version (one man show, no need for a webserver).

I’m using some mappings. Configured in the webadmin or application.cfc
works fine for cfm files. But also images and css are in a
subdirectory with a mapping.

The problem is: The images and stylesheet can’t be found because the
mapping path is not found for the static files.

I’m sure I can tell Tomcat to serve also the static files via a
mapping, but I can’t find any documentation for Tomcat how to do this.

Has someone has a hint for me where to do the setting in Tomcat?

Thanks!
Michi


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/a47de6a856d447ca82e6654234644b5e%40bluegras.de
https://groups.google.com/d/msgid/lucee/a47de6a856d447ca82e6654234644b5e%40bluegras.de?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.