You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by lixin chu <li...@yahoo.com> on 2004/08/08 08:03:54 UTC

LookupDispatchAction qustion: how to name the method

Hi,
Still strugling with the LookupDispatchAction. I got
this error message:
"
javax.servlet.ServletException:
Action[/admin/OrgAction] missing resource
'button.list' in key method map
.....
"

I suspect that there is something wrong with the
string I used. Here is what I aming doing:

1. ApplicationResources.properties
   button.list=List
2. MethodLookups.properties
   button.list=list
3. JSP file
   <html:submit property="method">
     <bean:message key="button.list"/>
   </html:submit>
4. In getKeyMethodMap()
   ResourceBundle methods =
ResourceBundle.getBundle"LookupMethods",Locale.ENGLISH);
5. I have list() in MyAction()

the request is "http://....?method=list"

Are there anything wrong ?

many thanks
li xin





		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org