我有这个uri:
http://IP5:port/notification/myServlet.do?method=myMethod¶m1=[08]&method2=anotherParam¶m0=[07,04,06]
我想以相同的顺序获取URI的最后一部分:
method=myMethod¶m1=[08]&method2=anotherParam¶m0=[07,04,06]
但是“我不知道如何:
我可以在里面看到
request
田野
input
,以便在之后执行子字符串
?
角色…
方法:
request.getRequestURI()
和
request.getRequestURL()
不是为我工作。