You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/03/07 22:26:44 UTC
[jira] [Commented] (WW-4101) RegexFieldValidator should precompile
patterns
[ https://issues.apache.org/jira/browse/WW-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924363#comment-13924363 ]
Lukasz Lenart commented on WW-4101:
-----------------------------------
[~maurizio.cucchiara] is right - current implementations of {{ActionValidatorManager}} don't cache created instances of {{Validator}}, but you can always implement your own version of {{ActionValidatorManager}} witch cache and let us know how it works :-)
> RegexFieldValidator should precompile patterns
> ----------------------------------------------
>
> Key: WW-4101
> URL: https://issues.apache.org/jira/browse/WW-4101
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Actions
> Affects Versions: 2.3.14.3
> Reporter: Marcin Kamionowski
> Fix For: 2.3.x
>
>
> RegexFieldValidator compile pattern for each execution of method validate so it's much slower.
--
This message was sent by Atlassian JIRA
(v6.2#6252)