request中值问题

一个非常怪异的问题,帮忙看下,我在action 的execute()方法中,我拿到了request值.并打印出来,也就是调用了system.out.println();然后我在跳转后的.jsp页面中,取request中的值,只有1个,就是com.opensymphony.xwork.util.OgnlValueStack@974600
但当我把system.out.println();屏蔽掉时,在.jsp页面中,取request中的值,确得到6个,是[/helloworld.jsp,/helloWorld/hello.action, com.opensymphony.xwork.util.OgnlValueStack@167acf2, /helloWorld/hello.action, /helloWorld, /hello.action
这是怎么回事?????
代码如下:
public String execute() throws Exception {
Map mm = (Map) ActionContext.getContext().get("request");
//System.out.println("mm=" + mm.values());
return "ss";

}
jsp中:
<ww:property value="#request.values" />
这个取值和system.out.println();有什么关系???????
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值