Disable spring bean validation -


we using spring core + struts (without spring mvc)

also, using spring bean validator hibernate validator feature realize design contract pattern.

as know, these validations must turned of when deploy application.

how possible turn off spring validation applicationcontext.xml?

method validation in spring enabled via configuring methodvalidationpostprocessor. in case want turn off method validation in scenarios need make sure no such processor configured, e.g. configuring via bean profile not active in scenario.

method validation not intended used during development though, i'd recommend have enabled in production well.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -