The <dotj:adrotator> tag can be used to rotate advertisements on refreshes of your page. The ads are specified by
a standard Java properties file. Impression values can be specified to give weight to certain ads.
The above banner will rotate every time you refresh the page. There are three ads that rotate
according to the following ratios:
Ad 1 will display 50% of the time.
Ad 2 will display 30% of the time.
Ad 3 will display 20% of the time.
The <dotj:adrotator> tag uses a Properties file for its settings.
The following is the ads.properties file used for this example.