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]

Reply via email to