HttpServletRequest获取URL?后面的内容

获取URL?后面的内容

如https://i.cnblogs.com/EditPosts.aspx?opt=1

String para = request.getQueryString();

para =“opt=1“

posted @ 2017-11-07 14:56  Rainyn  阅读(592)  评论(0编辑  收藏  举报