In ActionServlet, there's some code that runs after all the config has
been read that does some checking of config values (mostly null
checking).  Maybe your checking is a better fit there.

Hubert

On 9/25/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
I forgot to add the code that makes sure there are no slashes in the
actionId name.

First, should I only exclude slashes? Or should I only allow letters and
numbers?

Second, where should the checking go? I notice there is no pattern
checking in any of the Config classes; so this will be blazing a new
trail :-) ... I'd like to put the it in the setter of
ActionConfig.setActionId and throw an IllegalArgumentException when
violated.

Thoughts? In the absence of any feedback, I will take this approach.
Paul

---------------------------------------------------------------------
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