Listing 6: The Application Message Keys
######### Default message key used by struts validator ########
errors.required={0} is required.
errors.minlength={0} can not be less than {1} characters.
errors.maxlength={0} can not be greater than {2} characters.
 ……
######### Customized message key used by struts validator ########
validator.validate.success
=Your personal identity number validation is successful.
validator.validate.failed
=Your personal identity number validation is failed. Please try it again.
validator.selectedPersonalIdentity.required=The personal identity type 
validator.selectedPersonalIdentity.required.message
=Please select one type of the personal identity type to be validated.
validator.personalIdentityNumber.required=The number of personal identity
validator.personalIdentityNumber.required.message
=Please enter your correct personal identity number which was used to register 
the ABC Wireless Service.
validator.personalIdentityNumber.driver.license.maskmsg
=The driver license number format is not correct.

validator.identity.all.default.invalid
=Please check the identity number you have entered and try again.
……..
validator.abc.pin.invalid.minLength
=The minimum length for PIN provided by ABC Wireless is 10.
validator.abc.pin.invalid.maxLength
=The maximum length for PIN provided by ABC Wireless is 10.
validator.abc.pin.invalid.mask
=The format of the PIN provided by ABC Wireless is not correct.\
	The correct format is alpha numeric in the format of x-xxx-xxxx. \
	The first position must be A to Z \
	Position 2 and 6 must be dashes (-). \
Positions 3, 4, 5 7, 8, 9, 10 must be A to Z or Numeric, such as: 
A-4P6-58DF is in the correct format. 8-4P6-58DF is not in the correct format
……

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.