How to ignore missing Spring properties and not call setter method

Anyone knows a way to make PropertyPlaceholderConfigurer ignore missing properties and not call the setter method at all?
for example:

<bean id="webAppContext" class="org.eclipse.jetty.webapp.WebAppContext" scope="prototype">
<property name="maxFormContentSize" value="${maxFormContentSize}"/>
</bean>

I can use a default value for the placeholder, but in some cases I want to let jetty use whatever it defaults to, so I will not supply the maxFormContentSize property and I would expect the container to not call the setter method. but it does call the setter method with the placeholder's literal value and ignoreUnresolvablePlaceholders does not help here.

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com