You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Stjepan Brbot <st...@t.ht.hr> on 2005/02/21 02:06:05 UTC

Validation for methods in DispatchAction

I use DispatchAction for CRUD activities in my application. Using 
methods like "create", "populate", "update" etc. I manage each 
particular activity for my entity (e.g. User) but in some of these 
activities I need validation (e.g. update/create) and in some of them 
not (e.g. populate/delete). Currently I have double mappings like 
/User.do and /UserVal.do for my (the same) UserAction DispatchAction. 
One mapping is defined with validation and another without it. When I 
want populate/delete method I use User.do mapping, and if I want 
create/update methods I use UserVal.do mapping. Is there any better 
approach for this?

Stjepan Brbot

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


[NEED] I need example and document about DispathAction

Posted by Pham Anh Tuan <an...@ichi-corp.jp>.
Hi,

I'm looking for some tutorial or document of Dispath Action. Who knows where 
I can find it, plz show me!

thanks for advance!

Anh Tuan 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org