$('#index_regForm').form('submit',{
url:'${pageContext.request.contextPath}/user/userAction!reg.action',
success:function(data){
var obj=jQuery.parseJSON(data);
if(obj.success){
$('#index_regdialog').dialog(close);
}
$.messager.show({
title:'提示',
msg:obj.msg
});
}
});