struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Can we place -validation.xml file in separate folder/package than corresponding Action file in xwork
Date Wed, 25 Aug 2010 11:19:42 GMT
Same answer as on JavaRanch.

On Wed, Aug 25, 2010 at 2:11 AM, imkrishna <chriestna@gmail.com> wrote:

>
> I am working for service side POJO validation using xwork. I am having an
> action say ValidationAction.java and i have a corresponding xml file named
> ValidationAction-validation.xml having validation rules on fields.
>
> As per specification and wherever i cud find,i have come to know that this
> xml file should be kept in the same package as the ValidationAction.java
> file. But since i do have many java files to go through validations and
> hence many corresponding xml files, i dont want to put them together in the
> same package. I want to have different folder/package for the xml files.
>
> Is there any way out for this ??
>
> Thanks and regards
> --
> View this message in context:
> http://old.nabble.com/Can-we-place--validation.xml-file-in-separate-folder-package-than-corresponding-Action-file-in-xwork-tp29529096p29529096.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message