[thelist] [jsp] - which markup is better?

Johnson, Christopher (MTO) Christopher.Johnson at mto.gov.on.ca
Tue Jun 8 15:12:10 CDT 2004


Hello,

I am working on an application that has been put together using jsp and
struts and I am wondering which form of markup is better. Here are the two
styles:

<html:hidden property="foo" value="<%= foo.bar() %>" />

or

<html:hidden property="foo">
	<%= foo.bar() %>
</html:hidden>

Any thoughts?

chris


More information about the thelist mailing list