<bean name="/multi.do" class="com.yjm.controllerpackage.MultiController">
<property name="methodNameResolver">
<ref bean="parameterMethodResolver" />
</property>
<property name="commonServiceImp">
<ref bean="commonServiceImp" />
</property>
</bean>
$.post("multi.do?action=add", {
id : id,
sex : sex,
sdesc : sdesc,
age : age,
perssion : perssion,
date : date,
uname : uname,
status : status
}, function(data) {
$(‘#t_user‘).datagrid(‘reload‘);
$(‘#t_user‘).datagrid(‘clearSelections‘);
$.messager.show( {
title : ‘提示信息‘,
msg : ‘增加成功‘
});
}, "text");
在 public class MultiController extends MultiActionController 创建多个方法
时间: 2024-10-07 11:03:33