Re: Re: Re: How to use ActionName-alias-validation.xml?
Ćukasz Lenart <[email protected]> Fri, 17 Oct 2025 10:55:47 +0200
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAMopvkOjcxQ-YvBbnxuJsqGsSvxkRwCnwU+PT7_bGjpmkv=T_g@mail.gmail.com> |
pt., 17 pa=C5=BA 2025 o 10:34 Ute Kaiser <[email protected]> napisa=C5= =82(a): > > What a surprising answer :-) > > I tried, it worked and the filename is 120 characters... > > Some remarks on this solution: > - There is no documentation on this case with slashes in action names and= the replacement "/" -> "-" resulting in "MyAction-a-b-myaction.validate-va= lidation.xml" Yes, this is something discovered by CC, I mean there is a note but maybe unclear > - For my example below I may implement validateCreate() =3D validateMetho= dName. (I stumbled on this here: https://stackoverflow.com/questions/676365= 2/struts-validator-annotation-to-call-method.) This is documented here, but you are right it's hard to find it, especially when using annotations https://struts.apache.org/core-developers/default-workflow-interceptor Cheers =C5=81ukasz