Refactor validation error messages in JSP

Move the JSP code to display validation errors into a seperate,
reusable tag.