You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fredrik Andersson <fr...@hotmail.com> on 2014/03/02 22:06:24 UTC

Struts 2: How to render as HTML and not XHTML?



Hello guys!
I use struts 2.3.15.3.
I have created a form with code like:
<s:form action="productsave">								<s:hidden name="A_HIDDEN" value="%{formToken}" />								<s:textfield name="A_TEXT" label="Email address" labelposition="top" maxlength="128" size="40" />...
I would like the output to be rendered as HTML and not XHTML.
I found this tag for struts 1.x:http://struts.apache.org/development/1.x/struts-taglib/tlddoc/index.html
Is there some tag in struts 2 that does the same?
Best regardsFredrik