How to parse an XML HTTP-POST request in servlets using JDOM?

Discussion in 'Programming' started by KasperKnop, Sep 28, 2010.

  1. #1
    I have a client that sends an XML to my server using a POST request. Now I want my server to be able access the XML document using JDOM. This does not work:

    I think the problem is "InputStream in = request.getInputStream();". Any ideas?
     
    KasperKnop, Sep 28, 2010 IP