Thanks for the reply Max. I decided to go with Maven to start Struts
apps since that seemed to be the most widely practiced way. Didn't
realise that Maven was excluding the XML files from the build. Works
perfectly after the resource is included in the build.

Thanks once again.

On Jan 13, 2008 6:56 PM, Max Shirow <[EMAIL PROTECTED]> wrote:
> Gaurav Arora wrote:
> > I have an action named GuestBookAction and it's validation
> > file named GuestBookAction-validation.xml, where should the validation
> > xml be placed in the application hierarchy?
> >
>
> It's fine if you put it exactly besides the java source file of your
> action; for example
>
>     src/org/your/package/ItemInsert.java
>     src/org/your/package/ItemInsert-validation.xml
>
> This of course is ok as long as the settings in your build.xml (if you
> use ant) or your ide (if you let eclipse build your projects for you for
> example) do not exclude xml files from being packaged in the destination
> classes directory, so in any case it should be working by default.
>
> If you need some struts primers have a look at
> http://struts.apache.org/2.0.11/docs/tutorials.html
>
> Max
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to