In the age of DNS and virtual servers, the whole context root idea seems so
damn dated...
Currently the only way to implement sub domain URL's in Stripes seems to be
to use mod_rewrite to translate the incoming URL's. Problem with that
approach is that you loose the ability to let Stripes generate any links to
these actionbeans. Making you're coding more complex and error prone. It's
less elegant and less agile.
An other approach could be to use an extra 'DomainBinding' and/or
'SubDomainBinding' annotation something like this:
UrlBinding("/profile.html")
SubDomainBinding("{user=}")
Or are there already some J2EE standards describing domain names?
"Brandon Atkinson"
<[email protected]> wrote in
message news:[email protected]...
> 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?
>
------------------------------------------------------------------------------
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