-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David Wall wrote:
| So I'd like my based code to be able
| to do something like call a method the user has defined that follows a
| naming convention, such as
|
| boolean validatePhone(String phone)

Could you get away with allowing users to specific regular expressions
that could be run over a String? That would make your life sooo much easier.

Another option would be to allow them to use a scripting language like
Javascript, and then run their "method" through something like Rhino.
Then you don't have to deal with ClassLoaders at all.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf6N+gACgkQ9CaO5/Lv0PAkBACgp5xG/pKUan7CbYCwN7D1ru1M
kSYAnRzS+f+YSBpVUqV1ZfhJl0B2pp+g
=XDQ8
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to