Register / Login
implementing Validator framework plug in makes struts slow
posted 4 years ago
I copied below line of code in to my struts-config.xml and after that when restart server and launch my application. It took around 2-4 minute for login page to come(after server startup complete)
<plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" /> </plug-in>
I dont see any change in application functionality but loading my login page become extremely slow. If I remove above set of code, I get my login page very quickly.
Can you please suggest how to fix above problem ?
It is sorta covered in the
JavaRanch Style Guide
Another "Validator Plugin" Problem
DynaAction and validation
Exception while starting the Weblogic server
Servlet action is currently unavailable
incompatibility between struts plugIn