OK, I figured it out. All I did was extend NameBasedActionResolver and
override the getActionBeanType(String path) method to first check a
properties file for the path, and if no mapping for the path was found
in the properties file, then call the super's getActionBeanType method.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Asleson, Ryan
Sent: Thursday, April 10, 2008 6:42 AM
To: Stripes Users List
Subject: [Stripes-users] Extending NameBasedActionResolver
Hello,
I need to extend NameBasedActionResolver to do the following:
1. When a URL needs to be resolved to an ActionBean, my custom
implementation first looks at the URL and sees if it is a "special" URL
that is mapped to a specific ActionBean.
2. If the URL is not resolved to an ActionBean in step 1, then continue
with the "normal" Stripes processing to resolved the URL to an
ActionBean.
There seem to be several methods in NameBasedActionResolver that have to
do with resolving URLs to ActionBeans. Which method(s) do I need to
override to accomplish what I have described above?
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.
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.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users