tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Downs <p...@positive-internet.com>
Subject Re: Url Rewriting in Tomcat4.0
Date Mon, 11 Feb 2002 13:11:58 GMT


--On 11 February 2002 16:47 +0530 Jiger Java <jigerjava@hotmail.com> wrote:

Hi,

> http://www.server.com/reseller comes in then the server will
> execute/get/map/etc etc & the final url will become as
> http://server.com/servlet/LoginServlet?role=reseller
> which is then the named servlet be executed. The <servlet-mapping> allows
> only Servlet Class file name & alias but not alias with params. Can we do
> so in Tomcat 4.0.

  If you are running tomcat 4 with the apache web server then you could 
perhaps do this through mod_rewrite.  I don't think it is possible through 
Tomcat4 directly unless you want to write a servlet that responds to 
http://www.server.com/reseller by redirecting to the url you want? ;)

Paul

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message