SOLR-501: Fix admin/analysis.jsp UTF-8 input for some other servlet containers such as Tomcat

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@676183 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2008-07-12 14:59:12 +00:00
parent 7d2d6e5e7e
commit a11f1fc0b5
5 changed files with 12 additions and 5 deletions

View File

@ -471,6 +471,9 @@ Bug Fixes
40. SOLR-556: multi-valued fields always highlighted in disparate snippets (Lars Kotthoff via klaas)
41. SOLR-501: Fix admin/analysis.jsp UTF-8 input for some other servlet
containers such as Tomcat. (Hiroaki Kawai, Lars Kotthoff via yonik)
Other Changes
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
build scripts to make two jars: apache-solr-1.3.jar and

View File

@ -61,7 +61,7 @@
<h2>Field Analysis</h2>
<form method="POST" action="analysis.jsp">
<form method="POST" action="analysis.jsp" accept-charset="UTF-8">
<table>
<tr>
<td>

View File

@ -18,7 +18,7 @@
<%@include file="header.jsp" %>
<br clear="all">
<form name="queryForm" method="GET" action="../select">
<form name="queryForm" method="GET" action="../select" accept-charset="UTF-8">
<!-- these are good defaults to have if people bookmark the resulting
URLs, but they should not show up in the form since they are very
output type specific.

View File

@ -15,13 +15,17 @@
See the License for the specific language governing permissions and
limitations under the License.
--%>
<html>
<head>
<%
request.setCharacterEncoding("UTF-8");
%>
<%@include file="_info.jsp" %>
<script>
var host_name="<%= hostname %>"
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="solr-admin.css">
<link rel="icon" href="favicon.ico" type="image/ico"></link>
<link rel="shortcut icon" href="favicon.ico" type="image/ico"></link>

View File

@ -106,7 +106,7 @@ if (cores.size() > 1) {%><tr><td><strong>Cores:</strong><br></td><td><%
Query String:
</td>
<td colspan=2>
<form name=queryForm method="GET" action="../select/">
<form name=queryForm method="GET" action="../select/" accept-charset="UTF-8">
<textarea class="std" rows="4" cols="40" name="q"><%= defaultSearch %></textarea>
<input name="version" type="hidden" value="2.2">
<input name="start" type="hidden" value="0">