Adam,

If you need to handle multiple URI's I would look at UrlRewriterFilter.

Once upon a time I too felt that Stripes should offer such a capability (in our 
case it was multilingual support) and subclassing was not scalable (as you 
point out as well) BUT after having built out the UrlRewriterFilter integration 
I have to say I am glad I used it.

--Nikolaos



On 2013-07-24, at 11:18 AM, Adam Stokar <ajsto...@gmail.com> wrote:

> That's not a very scalable solution.  I have over 60 ActionBean classes that 
> would each need a subclass.  I think this is a reasonable request to add to 
> the library.
> 
> 
> On Wed, Jul 24, 2013 at 10:54 AM, Ben Gunter <bgun...@cpons.com> wrote:
>> A workaround is to subclass the ActionBean in question and put a different 
>> @UrlBinding on the subclass.
>> 
>> -Ben
>> 
>> 
>> On Wed, Jul 24, 2013 at 9:59 AM, Adam Stokar <ajsto...@gmail.com> wrote:
>>> Hi all,
>>> 
>>> It doesn't seem like it's possible to assign two URL's to the same action 
>>> bean.  Does anyone have an easy workaround for this?  I'm trying to do 
>>> something like:
>>> 
>>> @UrlBinding({"/locations","/Locations"})
>>> Thanks,
>>> 
>>> Adam
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Stripes-users mailing list
>>> Stripes-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> 
>> 
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to