- 注册时间
- 2012-12-23
- 最后登录
- 2012-12-31
- 阅读权限
- 10
- 积分
- 15
- 精华
- 0
- 帖子
- 2
|
本帖最后由 ccnahzm 于 2012-12-23 00:58 编辑
- @Override
- public String execute() throws Exception{
- HashMap data = (HashMap) JSON.Decode(submitData);
- System.out.println(data + "!!!!!");
- System.out.println(data.get("username").toString());
- String username = data.get("username") != null? data.get("username").toString(): "";
- String password = data.get("password") != null? data.get("password").toString(): "";
- String role = data.get("role") != null? data.get("role").toString(): "";
- //System.out.println("username:" + username + ", password:" + password + ", role:" + role);
- System.out.println(username);
- return null;
- }
复制代码 我想问一下为什么执行到这一句HashMap data = (HashMap) JSON.Decode(submitData);就没反应的呢,异常都不报,是这个工具类有问题,还是我无知?
|
|