struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schuenck <>
Subject Wrong struts rendered tags
Date Mon, 14 Jan 2008 18:20:38 GMT


I'm starting in Struts and already found a little problem. While rendering
the html inputs, struts don't close the tags. For example:

The tag <html:text property="campo" /> renders:

<input name="campo" type="text">

Instead of:

<input name="campo" type="text" />

The tag wasn't closed and the document can't be validated as XHTML. I've
tried to use the <html:html xhtml="true" /> and <html:xhtml /> but the
return was the same.

Somebody knows any way of forcing struts to render xhtml compatible code?


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message