使用JS获取request参数

1.document.write('<%=request.getAttribute("param")%>');

2.window.navigator.userAgent 记录浏览器信息以及操作系统信息。

3. var searchParam = location.search.配合使用string的相关方法即可得到。

posted @ 2016-09-03 10:31  ne_lucifer  阅读(1883)  评论(0编辑  收藏  举报