yes.. I am interested in that. thanx -reynir
> -----Original Message----- > From: James Williamson [mailto:[EMAIL PROTECTED]] > Sent: 20. mars 2002 20:55 > To: Tomcat Users List > Subject: Re: TC 4 - URLRewrite :: repost > > > Hi Reynir, > > I looked into this quite deeply, it seems like you can't get > a handle on the > url requested (to change) unless > you go very deep into Tomcat's internals. As it happens I'm testing a > modified mod_webapp which > appears to work quite nicely letting you use Apache's rewrite > mechanism > (which mod_webapp normally ignores completely). > I should have finished my tests by this evening is you want > to give it a > try. > > Regards, > > James Williamson > www.nameonthe.net > > ----- Original Message ----- > From: Reynir Hübner <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Sent: Wednesday, March 20, 2002 7:35 PM > Subject: RE: TC 4 - URLRewrite :: repost > > > > thanx james... > > > > Client side redirect is not good enough... for what I was thinking. > > > > I am not really understanding your comment on how to do it > internally. > > If I understand it correctly I might want to write a > Connector that does > > the URLrewriting for me, (something like mod_webapp or > > coyote+urlrewrite). > > > > or is it easyer (and more portable onto other servers) to > write a filter > > that uses requestDispatcher.redirect("new/path")? (sorry I > don't know > > the filters api very well) > > > > hmm I also noticed a function within Defaultservlet > ds.rewrite(path)... > > is it possible somehow to work with this ? > > > > > > thanx again.. > > -r > > > > > > > > > -----Original Message----- > > > From: James Williamson [mailto:[EMAIL PROTECTED]] > > > Sent: 20. mars 2002 19:08 > > > To: Tomcat Users List > > > Subject: Re: TC 4 - URLRewrite :: repost > > > > > > > > > Hi Reynir, > > > > > > I had a look at doing this, from having a look at the code, > > > the only thing > > > you can do > > > is a client side redirect (i.e. sending back a HTTP 302 to > > > the redirected > > > page). From what > > > I gathered you've got to start going right up the food chain > > > within Tomcat > > > to do it internally, > > > i.e. Filter->Value->Container->Connector > > > > > > Regards, > > > > > > James Williamson > > > www.nameonthe.net > > > ----- Original Message ----- > > > From: Reynir Hubner <[EMAIL PROTECTED]> > > > To: Tomcat Users List <[EMAIL PROTECTED]> > > > Sent: Wednesday, March 20, 2002 6:18 PM > > > Subject: RE: TC 4 - URLRewrite :: repost > > > > > > > > > > hey guys, I got no replies.. so this is a repost of the > same message > > > > from early this morning.. (hope someone will notice it this > > > time.. ). > > > > > > > > > > > > > Hi, > > > > > > > > > > I'm looking for the best way of writing a URLRewrite for > > > tomcat that > > > > > works similar to mod_rewrite in apache. > > > > > Does anyone have an opinion on this matter, should I > > > write a filter or > > > > > extend some of the Tomcat base servlets such as > DefaultServlet or > > > > > InvokerServlet, or even write some kind of an addition > > > onto coyote. > > > > > > > > > > I think filter is the correct way to do it.. what's > your opinion ? > > > > > > > > > > thanx... > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > To unsubscribe: > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands: > > > <mailto:[EMAIL PROTECTED]> > > > > > Troubles with the list: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands: > > > <mailto:[EMAIL PROTECTED]> > > > > Troubles with the list: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > -- > > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > For additional commands: <mailto:[EMAIL PROTECTED]> > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>