struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Robinson" <aaronrobinso...@hotmail.com>
Subject Reasonable to use EJBs for validation in ActionForm validate method?
Date Tue, 10 Jun 2003 13:55:37 GMT
For validation that can only be done against the database, should this go in 
the validate method or in the execute method?

For example checking that a customer doesn't alerady exist before inserting 
it, or checking that a user has entered a valid address before the execute 
method is called to try and create it.

Also, with the validator framework, does this just apply to basic (non model 
based) validation?

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess


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


Mime
View raw message