使用JSTL时,URL会被隐含的对象param包裹起来,使用param.变量名,直接获取值
<body>hello:${param.name}</body>
在使用jquery时,也可以用同样的方法得到: $(function(){ alert(${param.name}); });