The pages that reference the CompareSkusFormHandler (product_bike.jsp and compare_bikes.jsp) include the following code for displaying any form errors that are found by the CompareSkusFormHandler:

<%/*Display any errors that have been generated during Compare operations: */%>
<dsp:include page="../common/DisplayCompareSkusFormHandlerErrors.jsp"
     flush="true">
</dsp:include>

This code fragment simply displays any form errors caught by the CompareSkusFormHandler.

<%/*Display any errors found by the CompareSkusFormHandler: */%>
<dsp:droplet name="/atg/dynamo/droplet/ErrorMessageForEach">
 <dsp:param bean="CompareSkusFormHandler.formExceptions"
      name="exceptions"/>

 <dsp:oparam name="outputStart">
  <font color=cc0000><STRONG><UL>
 </dsp:oparam>

 <dsp:oparam name="outputEnd">
  </UL></STRONG></font>
 </dsp:oparam>

 <dsp:oparam name="output">
  <LI><dsp:valueof param="message"/>
 </dsp:oparam>

</dsp:droplet>
 
loading table of contents...