On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote: > Hi, > > I have a problem using LookupDispatchAction. I already tried > looking for the solution on Google, this list archive and other > resources but I wasn't able to fix the problem. Maybe some of you can > help me. > > My action extends LookupDispatchAction and implements the > getKeyMethodMap() method. In my ApplicationResources.properties file I > define all the keys for the buttons that can be shown in my > interfaces. Everything seems to be ok but every time I try to access > my pages I receive the following error: > "javax.servlet.ServletException: Action[/pesquisaIngrediente] missing > resource 'comando.iniciar' in key method map". > > I did everything as shown in the LookupDispatchAction's javadoc > but the application doesn't work. Can someone help me with this > frustrating error?
Source code snippet would be nice. Can you access other resources from this file? Is it in proper location? Anyway, do you want to try a better alternative? Here it is: http://struts.sourceforge.net/strutsdialogs/selectaction.html This class is not available as separate download, so you need to get the whole library, but it is very small. The latest update in version 1.24 allows you to use this action as utility class, that is, your action does not have to extend it, you can just instantiate it and call it. Check the samples for example of how to do that. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]