You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Glen Stampoultzis <gs...@iinet.net.au> on 2003/10/27 08:32:26 UTC
Nice URL's
Is there anyway to get nicer URL's with tapestry?
Eg. Instead of:
http://localhost:8080/mywebapp/app?service=page/Main
http://localhost:8080/mywebapp/Main
Regards,
Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Nice URL's
Posted by Glen Stampoultzis <gs...@iinet.net.au>.
Thanks John,
It would be nice to see this capability as part of tapestry but I guess I
can live with it. :-)
Regards,
Glen
At 06:49 PM 27/10/2003, you wrote:
>Hi,
>
>Off the top of my head, you could implement a filter which plays around
>with the URLs or alternatively if you're using Apache's httpd as a front
>end to your servlet container, you could use mod_rewrite (ie. regexp
>matching and reformating). When I think about it, I think most servlet
>containers have some way of doing the same thing as mod_rewrite (Resin
>springs to mind).
>
>Not that I've tried either though ... been too busy enjoying Tapestry
>without the need for "clothes" :-)
>
> - John
>
>On Mon, 2003-10-27 at 07:32, Glen Stampoultzis wrote:
> > Is there anyway to get nicer URL's with tapestry?
> >
> > Eg. Instead of:
> >
> > http://localhost:8080/mywebapp/app?service=page/Main
> >
> > http://localhost:8080/mywebapp/Main
> >
> >
> > Regards,
> >
> >
> > Glen Stampoultzis
> > gstamp@iinet.net.au
> > http://members.iinet.net.au/~gstamp/glen/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>--
>John Meredith <ps...@t-online.de>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/
Re: Nice URL's
Posted by John Meredith <ps...@t-online.de>.
Hi,
Off the top of my head, you could implement a filter which plays around
with the URLs or alternatively if you're using Apache's httpd as a front
end to your servlet container, you could use mod_rewrite (ie. regexp
matching and reformating). When I think about it, I think most servlet
containers have some way of doing the same thing as mod_rewrite (Resin
springs to mind).
Not that I've tried either though ... been too busy enjoying Tapestry
without the need for "clothes" :-)
- John
On Mon, 2003-10-27 at 07:32, Glen Stampoultzis wrote:
> Is there anyway to get nicer URL's with tapestry?
>
> Eg. Instead of:
>
> http://localhost:8080/mywebapp/app?service=page/Main
>
> http://localhost:8080/mywebapp/Main
>
>
> Regards,
>
>
> Glen Stampoultzis
> gstamp@iinet.net.au
> http://members.iinet.net.au/~gstamp/glen/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
--
John Meredith <ps...@t-online.de>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org