It is pretty easy to make JSP and XML work together. All you need to do is include at the top of the jsp page this line: <% response.setContentType("text/xml"); %> From that point forward, everything will be "considered" xml. You can use any jsp code inside of this xml document. Example:
The only thing that you need to make sure of is that the document follows xml rules (well-formed and valid, if a dtd/schema is specified). Note: This is not specifically for JRun, this should work using any JSP container.