tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject RE: Mapping URL->Servlet
Date Tue, 01 Aug 2000 07:42:15 GMT
> How can I map an arbitrary URL (that may be outside
> of any particular "servlet context") to a particular
> servlet?
> 
> I'm especially interested in Tomcat as a servlet
> container for Apache.  I've tried using my old friend
> mod_rewrite, but it seems to confuse mod_jserv.
> (Which tries to use the original URL, rather than
> the rewritten one.)  Other posters seem to have
> tinkered with <servlet-mapping>/<url-pattern>
> with little luck.
> 
> Does _anyone_ here know how to do this?

Hm.. I guess I don't really understand what you
are up to... Is this what you want?

You have http:/somehost/mapping but you want
http:/somehost/something.html to be rewritten
to http:/somehost/mapping/something.html?
--
Torsten

Mime
View raw message