"Clarke, Agnes" wrote:
> Hi all,
>
> I'm a newbie to STRUTS, so please forgive my ignorance!
>
> 1. Does STRUTS support XHTML? Struts tags seem to generate uppercase tag
> names, which is invalid XHTML...
>
XHTML is not supported directly, but the "html" tag library strives to render
code that is compatible with most XHTML requirements.
Which tags in particular are you finding generate upper case tag names? There
were some tags in 0.5 that produced mixed case attributes, but AFAIK all the
tags rendered with current 1.0 code are pure lower case.
>
> 2. When STRUTS generates an <input> element, the unique identifier for the
> field is placed in the name attribute (deprecated since HTML 4.0 or even
> earlier) and not the id attribute.
>
I missed catching that one -- let me look into it further.
>
> 3. Does STRUTS-generated HTML in general honor well-formed XML restrictions
> (eg closing end tags, quoting attribute values, etc)?
>
Yes, to the maximum degree feasible. It renders closing tags for all the
"open" tags that have nested content (like <form> and <html>), but does not
render XML-style no content tags (<br/>) with the trailing slash included. All
attribute values are quoted.
Of course, Struts has no control over the non-Struts tags -- it is still up to
the page designer to create valid syntax of the entire page.
>
> Finally, where is the STRUTS FAQ page?
>
There is not really a FAQ page per se -- the best source of information is
searching the STRUTS-USER mailing list archives.
>
> Regards,
>
> Agnes Clarke
Craig