Hi all, I recently began to audit a Struts 2.3.16.1 application that I am maintaining. While running the pages through the HTML markup validation test at http://validator.w3.org/, I noticed a problem: Struts 2 seems to automatically generate id’s to many elements related to forms, and sometimes this results in a page that has several elements with identical auto generated id. This then leads to a markup validation error. So far the only way I have found to get around this is to explicitly generate own unique ids, but this feels like a stupid solution. Is it not possible to prevent Struts from auto generating ids to forms and some elements within them?
I have tried to google for some solution but have found nothing useful. In case it matters, the application in question uses the basic Struts ”simple theme” globally, but the same problem occurs also with the "xhtml theme". Best regards, Heikki