Re: Two questions: validation

2004-06-20 Thread Niall Pemberton
Validator.formatFloat(value); if (result == null) { errors.add(field.getKey(), Resources.getActionMessage(request, va, field)); } Niall - Original Message - From: "Jacob Weber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, J

Two questions: validation

2004-06-20 Thread Jacob Weber
I have two questions on Struts' validation. 1. Let's say I have a multi-page form. Each JSP in the form points to a different action (or a different method of a DispatchAction), and passes the current "page" value to the action. It's possible for someone to pass the wrong value of "page" to an