You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ruud Steeghs <ru...@yahoo.com> on 2004/03/08 14:12:39 UTC

can struts generate strict XHTML

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)

kind regards,

ruud.

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: can struts generate strict XHTML

Posted by am...@nc.com.my.
<html xhtml="true">
.......
</html>
http://jakarta.apache.org/struts/userGuide/struts-html.html#html

Amin
> 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)
>
> kind regards,
>
> ruud.
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you’re looking for faster
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: can struts generate strict XHTML

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org