Tuesday, January 17, 2006 11:39 PM
hi Good Morning,
The above specified error will come in these situations.
1. If the Keys in hashmap are not present in applicationresoures.properies file.
2. If the property used as 'parameter' in struts-config.xml file is not present in the form bean.
3. If the property used is present in form bean and the value u are giving is not setting to the property.
4. If there is no method in lookupdispatchaction class as specified in hashmap of getKeyMethodMap().
We will use the LookupDispatchAction like this:
1. Action in config.xml same as u written.
2. Code written in getKeyMethodMap() same as u written.
3. But we will set the value to the property which is specified in config.xml file as parameter as follows -
document.getElementsByName("submit").value = remove (value for the button.remove as specified in .properties file)