I believe I tried this once but there were too many places within the
Controller that did String.equals ( ) somewhere else. However, I will make a
ticket to accomplish this in 1.4

Paul

On 10/19/07, Cool Coder <[EMAIL PROTECTED]> wrote:
>
> >>I think this idea is cool.
>   Thanks. But that does not work, buddy.
>   Do you think, I miss something. I tried to use customized action mapping
> map instead of struts Action mapping hashmap. But the action mapping map is
> always BLANK , why ???
>
>   -BR
>
> Paul Benedict <[EMAIL PROTECTED]> wrote:
>
>
> On 10/19/07, Cool Coder wrote:
> >
> > Hi,
> > There is a requirement in my project to make all action mappings case
> > insensitive i.e. login.do is same as Login.do. Somebody suggested me to
> > use custom moduleconfig, something like
> >
> > class MyModuleConfig extends ModuleConfigImpl{
> > public MyModuleConfig(String prefix) {
> > super(prefix);
> > this.actionConfigs = new MyMIMap(this.actionConfigs); // This is a case
> > insensitive HashMap
> > }
> > }
> > and also added following code in init() method of CustomRequestProcessor
> >
> > public void init(org.apache.struts.action.ActionServlet servlet,
> > org.apache.struts.config.ModuleConfig moduleConfig)
> > throws javax.servlet.ServletException
> > {
> > moduleConfig = new MyModuleConfig(moduleConfig.getPrefix());
> > super.init(servlet, moduleConfig);
> > }
> >
> > This is somoe how does not work.
> > Can anybody suggest me what is wrong with this implementation?
> >
> > - BR
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

Reply via email to