Hi You can do it using Tapestry's URL Rewriting APIs
http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ http://tapestry.apache.org/url-rewriting.html regards Taha On Feb 25, 2013, at 6:29 PM, jellevangompel wrote: > Hi all, > > I wanna know if it is possible to put the context of a page first in the > path of a URL. > I am currently implementing a wizard built with separate pages that all need > to be initialised with a context. > > This will result in URLs like: > > www.myapp.com/stepone/contextA > www.myapp.com/steptwo/contextA > www.myapp.com/stepthree/contextA > ... > > However, I would like to have my URLs of the form: > > www.myapp.com/contextA/stepone > www.myapp.com/contextA/steptwo > www.myapp.com/contextA/stepthree > ... > > Is there a way I can realise this with Tapestry? > > Also, in a multi-language application I would like to have the context after > the language parameter, eg.: > > www.myapp.com/en/contextA/stepone > www.myapp.com/nl/contextA/stepone > www.myapp.com/fr/contextA/stepone > ... > > > Regards, > Jelle > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Putting-the-context-first-in-the-URL-path-tp5720213.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 >