I am using
Struts 1.1 final, and am having trouble getting valid xhtml to be rendered for the various input taglibs.
All of my pages use the following Struts html tag:
This Struts html tag does properly render the html tag markup itself, complete with xmlns, lang and xml:lang attributes.
However, the input tags inside these pages are not rendered with the required closing tag:
Results in this:
Instead of the required:
Note the closing end tag as required by xhtml.
I am using tiles, and the outer layout for all pages is where the Struts html tag resides - I'm not sure if this is somehow causing embedded tiles with input tags to fail to recognize that they are inside of an xhtml page.
Any posts about this problem I have seen state that Struts 1.1 only requires the 'xhtml="true"' attribute on the html tag in order to solve this, but this has not been my experience.