This sort of naming doesn't agree with the JEE notion of context roots. This has little to do with Stripes, but with the underlying technology Stripes is based on. Because of this, this sort of functionality is unlikely to be implemented within Stripes.
If you are fronting with Apache, perhaps you could use mod_rewrite to translate the initial URL into the JEE compatible ones? On Thu, Dec 24, 2009 at 3:02 PM, KR <[email protected]> wrote: > Hi All, > > I am building a social web application in which users can find their own > home page under an URL like: john.webapp.com, maria.webapp.com, etc. But > the > current version of Stripes does not seem to offer an easy way to handle > these kind sub domains. > > Wouldn't it be a good idea to extend the handling of the UrlBinding > annotation so it can handle (sub) domains with a pattern that would look > like the following: > > UrlBinding("{user=}.webapp.com/profile.html") > > > Or maybe there is an even easier solution? I really appreciate ever bodies > input on this! > > Marry Christmas everybody, > Karen > > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
