Do we have anything like -Dorg.apache.el.parser.COERCE_TO_ZERO for glassfish also?
Do we have anything like -Dorg.apache.el.parser.COERCE_TO_ZERO for glassfish also?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Glassfish uses a different EL implementation which behaves by default already the same as when you would set
-Dorg.apache.el.parser.COERCE_TO_ZEROtofalseon Tomcat and clones.Perhaps you’re looking for the following JSF context parameter.
Note that the above is even required on Tomcat and clones and well if your intent is to let JSF set empty string submitted values as
nullinstead of0on primitive wrapper properties likeLong,Integer, etc.