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.

    1 answer 1

    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.

    • org.w3c.Document + XPath
    • Stax

    There are many examples of parsing XML on the Internet and on SO.