Hello Ken!Thanks for your reply! I have now playing around with themes.My first approach was to get my app produce html 4.01, but I now think a better approach is to go for valid xhtml. How ever I think I need to create a new issue about this since I lern a bit more. Best regardsFredrik
> Date: Sun, 2 Mar 2014 20:30:05 -0700 > Subject: Re: Struts 2: Howto render output as HTML? > From: ken.mcwilli...@gmail.com > To: user@struts.apache.org > > If you want this behaviour for the whole application then set > struts.ui.theme to simple, inside struts.xml. Like so: > > <struts> > <constant name="struts.ui.theme" value="simple" /> > </struts> > > Since you mentioned a single page, you can do that too, you can even have a > single struts2 UI tag render under a different theme, these various options > are listed here: > http://struts.apache.org/release/2.3.x/docs/selecting-themes.html > > > > > On Sun, Mar 2, 2014 at 2:08 PM, Fredrik Andersson > <fredan...@hotmail.com>wrote: > > > > > > > > > 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 > >