tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rum Pel" <>
Subject Re: AW: what is url rewriting
Date Wed, 14 Aug 2002 09:09:26 GMT
>url rewriting is mostly done by a module that intecepts
>incoming requests and changes it the before the request
>is forwarded to the application. The Application doesn't
>see the original request. (Look for mod_rewrite for apache)

Oh I see. So it acts as a kind of filter. Thanks for the info.

>What you look for is redirection. The server tells the
>browser to look at a different location for a given url.

NO. I know about redirection and do not want it. I have
a servlet which is very general and takes a general
input and generates different outputs. I want the servlet
to send a url back to browser along with the output.
This way, I need not bother the client with different
URLs for the same servlet, this is anyway handled by
the html form. Now you might ask, why I need this: just
for the sake of visual convinience :-), and match the url
with the content.

>This is part of the HTTP Spec:
>HTTP 1.0
>HTTP 1.1
>In servlets and jsp's it can be used through
> > -----Ursprüngliche Nachricht-----
> > Von: Rum Pel []
> > Gesendet: Mittwoch, 14. August 2002 10:46
> > An:
> > Betreff: what is url rewriting
> >
> >
> > Can somebody tell me what is url rewriting? and does it
> > solve my problem:
> >
> > I want to change the URL in the browser addressbar depending
> > on what the servlet outputs. ie., is there any provision
> > in the http spec for sending an url back to the client along
> > with the content?
> >
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 

Send and receive Hotmail on your mobile device:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message