I'd say make it work the other way around. If you want those URL's to be
meaningful to the servlet (think search engines or referring to a
specific call to your servlet), you'd have to do that anyway.

So instead of trying to rewrite the URL in the addressbar, you make your
servlet generate the URL's you want in your address bar and put those in
the HREFs/ACTIONs on your form. Then (if neccesary, ) after the request
you map the URL to your servlet parameters.

JW

> -----Original Message-----
> From: Rum Pel [mailto:[EMAIL PROTECTED]]
> Sent: woensdag 14 augustus 2002 10:46
> To: [EMAIL PROTECTED]
> Subject: 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?
> 
> Is this possible?
> 
> thanks.
> --rp
> 
> 
> 
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to