我将一些表单数据发布到服务器,该服务器的URL类型为
http://myserver.com/redirect.php?query=student
发布后的服务器返回一个空白但网址格式为
的网页http://myserver.com/studentinformation.php?std=student&age=20&result=pass
我想要做的是,我想获得上面的url查询字符串e-g,如std = student和age = 20,result = pass
我在Java中使用HttpUrlConnection,我知道如何发送Get和Post请求。但是当你发布到服务器和服务器返回这样的网址后,我不知道如何获得该特定网址。任何帮助将不胜感激。谢谢。 :)