You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Volker Stolz <st...@Pool.Informatik.RWTH-Aachen.DE> on 2000/05/05 10:56:16 UTC

How to map entire directory through servlet?

Sorry as this is rather not a Tomcat-related question but Servlets in
general:

I want that every access to http://host/path/file.html is translated to
http://host/servlet/I18NServlet/path/file.html, for each file in <path>
(background: the servlet chooses a translated version of the page).

I tried <servlet-mapping> in web.xml, but I just can't get it to work.
Any help is appreciated.

Volker
-- 
Volker Stolz * stolz@pool.informatik.rwth-aachen.de * PGP