I am sending a curl to a web app like
culr -X POST 10.1.2.7?myname -d '&test=111'
I am using parameter.getQueryString to get myname . I need to get that value in parameter . 获得该值。
尝试在您的servlet中使用它:
String test = request.getParameter("test");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.