views:

37

answers:

1

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.

A: 

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.

JustToHelp
yes.pls helpp.thanks!
CHONG ZI