比如一个url地址是用url重写的,如:
http://localhost:8080/webRoot/index.jsp?username=a&password=123
获取username用${param.username}
获取password用${param.password}
获取http://...前面这一串用
request.getContextPath()
如url: localhost:8080/1.jsp?a=1
${param.a}
${requestScope.a}
如url: http://localhost:8080/1.jsp?a=1
${param.a}
用的是GET方法?