[
https://issues.apache.org/struts/browse/WW-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43110#action_43110
]
Don Brown commented on WW-2169:
-------------------------------
The core issue seems to be the caching of validators for a given action class.
Looking at the code, the validator list is cached unless reloading configs is
turned on. Are you sure you aren't running in debug mode?
> 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: Plugin - Tags
> Affects Versions: 2.0.9
> Reporter: Florent Ramière
> Fix For: 2.1.x
>
> 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.