在jsp页面如何获得url参数(转)
摘要:
当一个url过来时,如:http://localhost:8080/pro/demo/hello.jsp?name=john,在hello.jsp页面,我们可以这样得到name的值: <% String path = request.getContextPath(); String basePath 阅读全文
posted @ 2015-07-28 16:45 轨道 阅读(439) 评论(0) 推荐(0) 编辑