struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Robinson" <>
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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message