懒码农。。。。。。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

折腾了2个小时,NND

ActionContext context = ActionContext.getContext();   
HttpServletResponse response = (HttpServletResponse)context.get(ServletActionContext.HTTP_RESPONSE);   

response.setCharacterEncoding("UTF-8"); 

... 

response.getWriter().print("{success:false,msg:'请正确输入密码'}"); 

return null;//NND主要就是这里

 

一直在纠结return INPUT; -.-!!! 

posted on 2010-12-09 00:40  阿彬  阅读(586)  评论(0编辑  收藏  举报