0

Tomcat 7.0.30 Firefox 15.0.1 Eclipse 3.7 & 4.2

最近 Tomcat7.0.30 をインストールしましたが、それ以来、Firefox であらゆる種類の問題が発生しています。(たとえば、これ

現在、java.lang.IllegalArgumentException: Control character in cookie value or attribute.例外が発生しています。

私はプレーンなhtmlファイルを持っています:

<html>
  <head><title>Test</title></head>
  <body>Test htm</body>
</html>

これは Firebug が報告するものです:

"NetworkError: 500 Internal Server Error - http://localhost:8080/WSTest"

The character encoding of the plain text document was not declared.
The document will render with garbled text in some browser configurations
if the document contains characters from outside the US-ASCII range.
The character encoding of the file needs to be declared in the
transfer protocol or file needs to use a byte order mark as an encoding signature.

私を悩ませているのは、クロムにはまったく問題がないということです。期待どおりにページが開きます...

私はこれをグーグルで検索しようとしましたが、私が見つけた唯一の提案はこれを追加することでした:

org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true
org.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true

catalina.properties ファイルに追加しましたが、それは役に立ちませんでした。

私は本当にここで私の心を失っています。

4

1 に答える 1

0

どうやら、Firefox のインストールに問題があったようです。すべてのオプションを使い果たし、Chrome、Safari、Opera、さらには IE でテストした結果、すべて正常に動作したので、すべてのプロファイル設定を削除して Firefox をアンインストールし、再インストールすることにしました。新しいインストールが機能します。

ps ヒント: Firefox を完全にアンインストールする場合は、ブックマークとパスワードをバックアップし、アドオンのリストを保存することを忘れないでください ;) ブックマークは Firefox から直接バックアップできます パスワードは、Password というアドオンで保存できますエクスポーター アドオンはスクリーンショットと共に「保存」します:D

于 2012-09-29T11:05:34.710 に答える