Hi You should take a look at Tapestry's LinkTransformer API
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/linktransform/LinkTransformer.html Here is more than helpful Igor's post http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ regards Taha On Jul 18, 2012, at 6:03 AM, dkeenan wrote: > Hi folks. I am writing a web app to be used by a number of clubs. Each club > can register and create a gallery page and a contact page. Both pages will > then be public. > > I each clubs pages to be viewable from the following urls: > > http://localhost/<club_url_friendly_name>/gallery > http://localhost/<club_url_friendly_name>/contact > > When someone browse to either of the urls the app uses the first part of the > path (club_url_friendly_name) to set the appropriate club in the session and > show the appropriate club page. > > Basically I want to give the impression that each club has its own sub-dir > in the application. > > Does anyone know if there is a way of achieving this? > > Many thanks, > > David. > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org >