$("#nick
FORM").
AjaxSubmit({
type: "
post",
url: "
http://localhost:8080/test/myspace.do?method=up
dateNick¶m=1",
dataType: "
json",
success:
function(result){
//返回提示信息
alert(result.nickMsg);
}
});
public ActionForward toUp
DateNickName(Action
mapPing m
APPing, Action
formForm,
httpserv
letRequest request,
HTTPServletResponse response){
PRintWriter pw = response.getWriter();
JSONObject obj = new jsONObject();
obj.put("nickMsg", "昵称修改成功!");
pw.print(obj);
pw.close();
}
网友评论文明上网理性发言已有0人参与
发表评论: