[ http://issues.apache.org/jira/browse/SOLR-58?page=all ]

Otis Gospodnetic updated SOLR-58:
---------------------------------

    Attachment: ping-xml.jsp
                ping.xsl

Updated ping-xml.jsp + ping.xsl
I took the simplest XML output to transform to XSL, as I've never touched XSL 
before.  Please comment if anything there doesn't look right or could be done 
better.

I removed that <status> element from ping XML output, and tested this in the 
JSP:

      out.println("<error>");
      XML.escapeCharData(SolrException.toStr(resp.getException()), out);
      out.println("</error>");
      response.sendError(500);

Unfortunately, this results ina generic 500 Error from Jetty, without this XML 
in the output.  Does anyone know how to get around this?


> Change Admin components to return XML like the rest of the system
> -----------------------------------------------------------------
>
>                 Key: SOLR-58
>                 URL: http://issues.apache.org/jira/browse/SOLR-58
>             Project: Solr
>          Issue Type: New Feature
>          Components: web gui
>            Reporter: Otis Gospodnetic
>         Assigned To: Otis Gospodnetic
>            Priority: Minor
>         Attachments: analysis-xml-out.txt, analysis-xml.jsp, logging-xml.jsp, 
> ping-xml-out.txt, ping-xml.jsp, ping.xsl, schemaxsl.zip, 
> threaddump-xml-out.txt, threaddump-xml.jsp
>
>
> I need to expose the admin functionality to an external application.  I think 
> returning admin data as XML may be a good and simple first step towards that.
> To do that I think I'll mostly need to modify JSPs (but I haven't had a good 
> look at Admin GUI yet).  From what I saw a few weeks ago when I briefly 
> looked at this, no Java code will need to be modified.  If you have concrete 
> ideas about how this should be done, please comment before I start next week 
> (week of October 23rd 2006).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to