In general, ActionForm validation is limited to the most basic input
validation, mostly making sure that incoming strings can be parsed
into a specific type.  If you need to issue a SQL query to ensure
valid data, that sounds like a business logic operation, and probably
makes more sense in the Action or even the business layer.

-- Jeff

On 9/20/05, gollinger <[EMAIL PROTECTED]> wrote:
> Hi In my HTML-Form I'm sending a number to a action.
> If the number is valid will be decided by a sql-query.
> I'm not sure to put this select in the ActionForms validate
> method or in the action with a corresponding forward.
>
> What would be the better way?
>
> Thanks for any opinions!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to