[ https://issues.apache.org/struts/browse/WW-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florent Ramière updated WW-2169: -------------------------------- Attachment: form-close.ftl in src/main/webapp/template/xhtml/form-close-validate.ftl tag.getValidators("${tagName}") takes forever and kills the performance Looks like there should be some caching here :) Anyway, here is a patch that will cache the in output of the form-close-validate.ftl in the application context, as this output should not change over time. > form validate="true" is very slow > --------------------------------- > > Key: WW-2169 > URL: https://issues.apache.org/struts/browse/WW-2169 > Project: Struts 2 > Issue Type: Improvement > Components: Views > Affects Versions: 2.0.9 > Reporter: Florent Ramière > Fix For: 2.0.11 > > Attachments: form-close.ftl > > > 1- create page > 2- create form > 3- add many fields > 4- rendering time for this page = R1 > 1- create page > 2- create form with validate="true" > 3- add many fields with corresponding validation defined in xml > 4- rendering time for this page = R2 > R2 >> R1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.