Not currently. You're right that you could do this with a custom resolver. Depending on how many URLs you want, there's also another cheap way to do it. If it's a fairly limited set of beans you want to do this to, and a small number of alternative URLs you could simple subclass the ActionBean and not override anything, e.g.

@UrlBinding("/someotherurl")
public class FooActionBean2 extends FooActionBean {}

-t

On Apr 2, 2008, at 2:22 PM, Asleson, Ryan wrote:



Hello,

Is there a way to map multiple URLs to a single ActionBean? I know that by default Stripes determines the path to an ActionBean by using the ActionBean's package name, and that this can be overridden by using the @UrlBinding annotation, but I'm wondering if there is a way to map multiple URLs to a single action bean.

I suspect it could be done by creating a custom ActionResolver, but I was wondering if there's another way to do it.

Thank you!!!

-Ryan




This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. ---------------------------------------------------------------------- ---
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ marketplace_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to