在struts2中如何接收jsp页面url传过来的参数

jsp页面:<a href="client.action?id=1222710540"><img src="images/123.jpg"></a>

在struts里面如何接收id参数:ServletActionContext.getRequest().getParameter("goodsid"); 这要用这句就就能搞定了

亲,你这里是这样吗?

posted @ 2012-03-01 10:09  eagle89  阅读(773)  评论(0编辑  收藏  举报