Path mapping in Tomcat

43 views
Skip to first unread message

Michael Hnat

unread,
May 21, 2015, 3:21:12 PM5/21/15
to lu...@googlegroups.com
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
 
 
 
 

Igal @ Lucee.org

unread,
May 21, 2015, 3:24:01 PM5/21/15
to lu...@googlegroups.com
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

--
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+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/a47de6a856d447ca82e6654234644b5e%40bluegras.de.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages