Listing 5: The Error Message Display
<table> <tr><th></th> <td>
 <%-- Display errors mapped to the Globals.ERROR_KEY after PersonalIdentityForm 
 validation with in-correct input format --%>
<logic:messagesPresent message="false"> <div>
   	<h3><font color="red">Error</font></h3> <ul>
	   <html:messages id="errors">
				      <li><bean:write name="errors"/></li>
	   </html:messages>		 
</ul> </div>
</logic:messagesPresent>
 <!—- Note: You can also to use the <html:errors /> tag in struts1.1 to display 
 error message -->
<%-- Display message mapped to the specific message key (validateSuccess & validateFailure)
after the actual personal identity number (with correct input format) validation against ABC
Wireless Inc's database --%>
<logic:messagesPresent message="true">   
<div><h3><font color="red">Personal Identity Validation Result:</font></h3>
<ul> <html:messages id="msg" message="true" property="validateFailure">
<li><bean:write name="msg"/></li>
	 </html:messages>
	 <html:messages id="msg" message="true" property="validateSuccess">
	 	      <li><bean:write name="msg"/></li>
	  <input type="submit" name="submit" value="Continue Your Registration" />
	  	  </html:messages>
</ul> </div>
</logic:messagesPresent>
</td></tr> </table>

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.