My problem is that after placing HTML anchor tags in a JAVA servlet, it an error (500 Internal Server Error). The anchor is around a field name which is printed above a form returned to the bowser if that field is left blank. This field name is clicked takes the user to the field in the form. Below is a line of code which causes this error.

sErrorMessage = sErrorMessage + "
<A HREF=\"#FirstName\"><LI>First name</LI></A>";

I am at a loss to find why this errors out. My need is critical so any help you could give would be greatly appreciated.

Thank you.