开发者

How do I use JSONRequest.POST to get parameters from a url?

how to get POST parameters at a URL, using JSONRequest. The original site will be www.abc.com/aServlet. For example, 开发者_开发百科www.abc.com/aServlet?user=tom I want to get the paramter of"user" which is "tom". I am actually keying in the user manually in aServlet which is a servlet.

The problem is I dont know how to use JSONRequest to retrieve the parameters. Please help.


i think that what he is trying to do is to get the parameter "user" from the URL. I suppose request.getParameter cannot be used since it is a POST method. So, I think he is trying to get the "user" parameter that is passed to the servlet (aServlet) via POST.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜