JSP Request. Getquerystring() method: get query string

getQueryString()

Example

<a href="https://www.jb51.ccindex.jsp?JavaCore">以Get方法发送的查询字符串</a><br>
  <%
   String p = request.getQueryString();
   out.println("查询字符串为:"+p);
  %>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>