Edit the form bean source file and the Java™ resource file so that they work correctly in your Struts application.
ActionErrors errors = new ActionErrors();
if (year < 1582) { errors.add("year",new org.apache.struts.action.ActionError("pre_gregorian")); }
pre-gregorian=<li>Date is before 1582, the year the Gregorian calendar began</li>
In this lesson, you edited the source file of the form bean.