Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] question on validation

Daniel Amadei

2007-02-09

Replies:

Hi All,

Suppose I have an action called a.A with some methods for updating
records and other for querying or just redirecting.

If I set up the validation file, it works for update but also for the
querying and redirection methods, which is not what I want.

My question is: is there a way to configure the validation for an
action to work just for some methods and not for others?

Thanks,
Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.