lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3202) Remove JSP from solr webapp
Date Mon, 05 Mar 2012 23:23:59 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222759#comment-13222759
] 

Uwe Schindler commented on SOLR-3202:
-------------------------------------

+1

Except:
{noformat}
+      String html = IOUtils.toString(new FileReader(f));
{noformat}

Thats a bad idea as it uses default charset. Use IOUtils.toString(new FileInputStream(f),
"UTF-8") or like that. Of course it must also set the content-type correctly, including charset
before getting the reader.
                
> Remove JSP from solr webapp
> ---------------------------
>
>                 Key: SOLR-3202
>                 URL: https://issues.apache.org/jira/browse/SOLR-3202
>             Project: Solr
>          Issue Type: Task
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-3202-no-jsp.patch
>
>
> The 4.0 admin UI does not use JSP to create its interface (It uses javascript and RequestHandlers)
> We only use JSP to fill in the path to the core in index.jsp -- this can be replaced
with simple template text

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message