浏览 3305 次
精华帖 (0) :: 良好帖 (0) :: 灌水帖 (0) :: 隐藏帖 (23)
|
|
---|---|
作者 | 正文 |
发表时间:2011-09-02
//--------------------------POST--------------- username=qqqq password=wwww email=1063128263@qq.com http://192.168.1.211:8080/demo/index.jsp ------------------------------------------------> request.getContextPath() =/demo request.getMethod() =POST request.getRequestURI() =/demo/reg request.getRequestURL() =http://192.168.1.211:8080/demo/reg request.getServletPath() =/reg //-----------------------GET-------------------> http://192.168.1.211:8080/demo/index.jsp?username=1&password=1&email=1 request.getContextPath() =/demo request.getMethod() =GET request.getQueryString() =username=1&password=1&email=1 request.getRequestURI() =/demo/index.jsp request.getRequestURL() =http://192.168.1.211:8080/demo/index.jsp request.getServletPath() =/index.jsp 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |