> -----Original Message-----
> From: Susan Bradeen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 07, 2004 12:07 PM
> To: Struts Users Mailing List
> Subject: Re: LookupDispatchAction doesn't lookup mapping
> 
> 
> On Tue, 07 Dec 2004 15:54:20 +0100, Alexander Czernay
> <[EMAIL PROTECTED]> wrote:
> > Susan Bradeen wrote:
> > 
> > 
> > 
> > >
> > > <snip>
> > >
> > >>        /**
> > >>         * Key method for mapping methods to buttons
> > >>         */
> > >>        protected Map getKeyMethodMap() {
> > >>                  Map map = new HashMap();
> > >>                  map.put("authors-form.button.create",   
>       "create");
> > >>                  map.put("authors-form.button.edit",     
>       "edit");
> > >>                  map.put("authors-form.button.remove",   
>       "remove");
> > >>                  map.put("authors-form.button.forwar",   
>               "forward");
> > >
> > >
> > > Is the above line in your code correct ...  
> "authors-form.button.forwar" ?
> > >
> > 
> > That was just a copy & paste mistake. That's not actually 
> in my code.
> > Alexander
> > 
> > 
> 
> Ok, bummer. Doesn't look to me like there's any difference in your
> code set up for 'back' and 'forward', and if 'back' is working, I am
> not seeing where the problem is. Does stepping through a debugger tell
> you what class is actually throwing the "MissingResourceAction'
> exception? I've not heard of that one before, but I don't have a whole
> lof of experience with LookupDispatchAction.
> 

Haven't followed this thread but....
I recently encountered this when then keys weren't in the 
ApplicationResource.properties file.  It was somewhat troublesome because it 
was a copy and paste error that looked like it was correct.  I  had org.blah 
instead of com.blah... both in the resource file and in the message 
configuration portion of the struts-config file.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to