1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
/**
* Provides the mapping from resource key to method name.
*
* @return key / method name map
*/
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("button.edit", "editForm");
return map;
}
protected ActionForward unspecified(ActionMapping aMapping,
ActionForm aForm, HttpServletRequest aRequest,
HttpServletResponse aResponse) throws Exception {
return aMapping.findforward("setup");
}
protected ActionForward editForm(ActionMapping aMapping,
ActionForm aForm, HttpServletRequest aRequest,
HttpServletResponse aResponse) throws Exception {
// ton code action
return aMapping.findforward("showEdit");
} |
Partager