Is this LookupDispatchAction? One common problem with that is whitespace around the label text - make sure you put the contents of the button all on one line or split the lines within the jsp tags
<html:submit property="operation"><bean:message key="button.delete"/></html:submit> Nialll On 7/13/06, Pillay, Kiren KN <[EMAIL PROTECTED]> wrote:
Hi people, I'm sure you've seen this one before, its quite frustrating and I'm too new to struts to figure it out. missing resource in key method map 'load' My application.properties: button.add=Add button.delete=Delete button.edit=Edit button.load=Load Strut-config.xml <action path="/facilitiesDetail" parameter="operation" name="facilitiesDetailForm" type="za.co.scmb.www.corpcredit.struts.action.FacilitiesDetailActionHand ler" scope="session" validate="false"> <forward name="success" path="/jsp/section/facilitiesBreakdown.jsp" /> <forward name="failure" path="/jsp/error/dberror.jsp" /> </action> protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("button.edit", "edit"); map.put("button.delete", "delete"); map.put("button.load", "load"); return map; } <html:submit property="operation"> <bean:message key="button.edit"/> </html:submit> <html:submit property="operation"> <bean:message key="button.delete"/> </html:submit> --- Methods load,delete and edit exist, but I still get this error. Can you please tell me what's wrong here? (Struts is really giving me a hard time, I thought it would be easier to implement than this :( Regards Kiren Pillay
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]