It seems like the <html:form> tag still adds a "name" attribute to the
generated <form> tag (as was the issue in the mentioned discussion from half
a year ago) , and validators don't like that in XHTML.... So either I'm
badly mistaken, or it still hasn't changed. 

Jeroen

-----Oorspronkelijk bericht-----
Van: Adam Hardy [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 8 maart 2004 23:01
Aan: Struts Users Mailing List
Onderwerp: Re: can struts generate strict XHTML

On 03/08/2004 02:12 PM Ruud Steeghs wrote:
> hi,
> 
> Can Struts actually generate compliant valid XHTML 1.0
> strict markup using the <html:xhtml/> tag?
> 
> If so, which version of Struts to use?
> 
> (http://www.junlu.com/msg/22026.html, but hey,
> technologies may change so fast)

Yes, I'm doing it. Can't remember when I started, but it definitely 
works on struts 1.1.

There are a couple of issues to look out for, such as with tiles, where 
you use the tag you mention. In your main pages, use <html:html 
xhtml="true">

Adam
-- 
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to