mounaim
mounaim

Reputation: 1180

Dorg.apache.el.parser.COERCE_TO_ZERO in Apache Tomcat 7

Where can I find this parameter Dorg.apache.el.parser.COERCE_TO_ZERO in an Apache Tomcat 7 installation ?
I looked at apache-tomcat-7.0.33\conf\catalina.properties as suggested here on stackoverflow, but didn't find it.

Upvotes: 0

Views: 910

Answers (1)

Laurentiu L.
Laurentiu L.

Reputation: 6686

It is a system property. If you want it as apache configuration, drop the -D prefix which is for java command line.

If it is not in your configuration file, you may just as well add it as described here.

org.apache.el.parser. COERCE_TO_ZERO - If true, when coercing expressions to numbers "" and null will be coerced to zero as required by the specification.

If not specified, the default value of true will be used.

Upvotes: 1

Related Questions