Thanks for the response Ben, I've now impelemented the link tag and interceptor that seems to work for me (although I think I also going to need an custom UrlBuilder as I also generate URL's in code).
The only drawback is that the URL name space is shared over the different (sub)domains. Thus www.mydomain.com/help and mark.mydomain.com/help triggers the same actionbean, thus the resulting application code is a bit less simple and clean as normaly under Stripes. I will post my code here for if others would want to implement domain wildcards in their application. "Ben Gunter" <[email protected]> wrote in message news:[email protected]... > Indeed, it does appear to be legal, according to the JLS. I just found > this > little excerpt: > > http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.6 > > Note that it is legal to use single-element annotations for annotation > types > with multiple elements, so long as one element is named value, and all > other > elements have default values. > > Now, that doesn't mean I think adding support for host/domain is a good > idea. Seems like a lot of work to support an uncommon need that can be > addressed in other ways. The binding of the username from the subdomain > can > be handled in an interceptor, and the URLs can be generated using a custom > JSP tag that extends Stripes' LinkTag. > > -Ben ------------------------------------------------------------------------------ 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
