I'm trying to set a mapping in my Jetty Server.
I have a central CSS folder outside my Webcontext and want a mapping to
that. Google has no answer.
In Resin I would do the following:
<path-mapping real-path="D:/wwwroot/central/css" url-pattern="/css/*" />
But I can find a information how to do that in Jetty.
Any ideas?
Thx, Michi
--
Mit herzlichen Grᅵᅵen,
Michael Hnat
bluegras - Internetlᅵsungen
Kriegerstr. 49
82110 Germering
Tel.: 089 81029340
Fax: 089 81029339
E-Mail: m.h...@bluegras.de
Let's see if there is a way to do it. Searching the docu says 'no'. Or
the answer is hidden very well.
/Michi
Regards
Mark Drew
We got it running by doing the following:
We replaced the default servlet in Jetty with this:
<servlet>
<servlet-name>FileServlet</servlet-name>
<description>File Servlet for simple files</description>
<servlet-class>railo.loader.servlet.FileServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>FileServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
Now all files are processed by railo and I'm doing my mappings in the
Railo-admin.
Thanks Michi Streit for the idea!
/Michi