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 
Analyst Developer
Corporate and Investment Banking Division, Johannesburg 
        
        Office:         +27 (0)11 631 1491      
                        
        Fax:    +27 (0)11 636 1792      
        Email:  [EMAIL PROTECTED]       
        Web Site:       www.standardbank.co.za
<http://www.standardbank.co.za/>        




__________________________________________________________________________________________________________________________________

Standard Bank Disclaimer and Confidentiality Note

This e-mail, its attachments and any rights attaching hereto are, unless the 
context clearly indicates otherwise, the property of Standard Bank Group Limited
and/or its subsidiaries ("the Group"). It is confidential, private and intended 
for the addressee only. Should you not be the addressee and receive this e-mail 
by
mistake, kindly notify the sender, and delete this e-mail, immediately and do 
not disclose or use same in any manner whatsoever. Views and opinions
expressed in this e-mail are those of the sender unless clearly stated as those 
of the Group. The Group accepts no liability whatsoever for any loss or
damages whatsoever and howsoever incurred, or suffered, resulting, or arising, 
from the use of this email or its attachments. The Group does not warrant the 
integrity
of this e-mail nor that it is free of errors, viruses, interception or 
interference. Licensed divisions of the Standard Bank Group are authorised 
financial services providers
in terms of the Financial Advisory and Intermediary Services Act, No 37 of 2002 
(FAIS).
For information about the Standard Bank Group Limited visit our website 
http://www.standardbank.co.za
___________________________________________________________________________________________________________________________________

Reply via email to