Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Tomcat 6.0.18からにアップグレードした後Tomcat 6.0.36、プロジェクト内のいくつかの JSP に関するいくつかの例外が発生します。
Tomcat 6.0.18
Tomcat 6.0.36
Tomcat が JSP を処理する方法を変更しましたか?
javax.el.ELException: Cannot convert PLA of type class java.lang.String to class java.lang.Long
aとaTomcat 6.0.18を比較しようとすると、結果が得られ、ではが得られます。LongStringfalseTomcat 6.0.36/6.0.37exception
Long
String
false
Tomcat 6.0.36/6.0.37
exception
試してみると:${2.33 == 'Does it work?'}
${2.33 == 'Does it work?'}
Tomcat 6.0.18 では、出力は次のようになります。false
Tomcat 6.0.36/6.0.37 では、出力は次のようになります。exception, cannot convert String to Long
exception, cannot convert String to Long