posted 15 years ago
A. This is likely to show an image next to the required field, but this does not customize the way the label looks. It doesn't meet the requirements.
C. The color and the symbol used for the required field are hard coded. Looking at the requirements, it's likely to change, and should be easily customized. You don't want to change all your JSPs when department A comes and say : finally we want a pink moose next to the required fields. The way required fields are shown could also be dynamically changed depending on the logged user's department.
D. It's not going to be easy to customize how the label looks, or how the input field looks, because you'll need to parse the body content, which should be avoided.
B. Let's you decide how to show the label, let's you decide if you put an image, an asterisk or something else, let's you decide how to show the input field.