* @throws Exception
*/
public ActionForward commit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
throws Exception {
AbstractResourceForm resourceForm = (AbstractResourceForm) form;
resourceForm.apply();
Resource resource = resourceForm.getResource();
if(resourceForm.getEditing()) {
resource.getResourceType().updateResource(resource, getSessionInfo(request));
}
else {