content « Format « JSP-Servlet Q&A





1. Extract contents from xml which is in .jsp format    stackoverflow.com

monitorUrl-- http://esidxprdr03:8810/solr-agile/admin/stats.jsp which contains this xml file.

    <?xml-stylesheet type="text/xsl" href="stats.xsl"?>
<solr>

      <core></core> 

  <schema>qcom-agile</schema>
  <host>esidxprd01.host.com</host>
  <now>Fri Nov 11 11:14:01 PST 2011</now>
 ...