-none- 2007-09-05 - By Laurie Harper
Back kukreja sanjeev wrote: > Hi , > I am trying to put validations on indexed collection. > Is there any way I can have that in validation-<action>.xml file. > It would be great if you can pls.throw some light on it.
Which version of Struts are you using? Struts 1 lets you specify multiple validation files in the configuration, but wont automatically search for per-action validation files.
Struts 2 can find validation rules in various places automatically, including per-action files. See 'Defining Validation Rules' in the validation documentation [1] for details.
L.
[1] http://struts.apache.org/2.x/docs/validation.html
ObWhine: please don't post unrelated questions to an existing thread. Be sure to start a new thread (with an appropriate subject) by sending a fresh message to the list, rather than using Reply To.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|