Web tier: servlets, JSP, Web frameworks: JSP XML Processing
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
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
Artem D. Yegorov
There are several XML related taglibs in Coldtags suite: