struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4101) RegexFieldValidator should precompile patterns
Date Fri, 07 Mar 2014 21:26:45 GMT

    [ https://issues.apache.org/jira/browse/WW-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924364#comment-13924364
] 

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)

Mime
View raw message