The request header goes, then the parameters in xml, that is, not
param1 = one & param2 = two
and xml string
request.getParameter("nameOfParam"); will not work.
I need a way to get a parameter string.
Your question is not clear what you want to get and how to get it? Is there an example request?
request.getParameter("nameOfParam"); It will give you just a string of parameters, no matter post or get.
If you need to get some parameter from XML, use any convenient option.
There are many examples of parsing XML on the Internet and on SO.
Source: https://ru.stackoverflow.com/questions/514694/
All Articles