JSP XML Processing

Discussions

Web tier: servlets, JSP, Web frameworks: JSP XML Processing

  1. JSP XML Processing (2 messages)

    How can one using JSP parse and process XML (XML embedded in HTTP Request as a request parameter), apply business logic and generate output XML and dispatch it to a servlet / jsp.

    Thanks in advance

    Threaded Messages (2)

  2. JSP XML Processing[ Go to top ]

    Something like:

    <%

    org.jdom.input.SAXBuilder builder = new org.jdom.input.SAXBuilder();

    org.jdom.Document doc = builder.build(new java.io.StringReader(request.getParameter("someParameter")));

    //do some processing here, business logic or whatever

    %>

    As far as dispatching, could you be a little more specific?

    You can get the JDOM library at http://www.jdom.org

    Regards,

    Artem D. Yegorov
    http://www.activexml.org
  3. XML parsers[ Go to top ]

    There are several XML related taglibs in Coldtags suite:
    http://www.servletsuite.com/jsp.htm