I am confused. It should be very obvious, but I cannot figure it out 🙁
How can I display Action Form property as simple text (label) in my .jsp page?
I can use <html:text> tag, for example, to create an input text field for the desired property but how can I simply display this value as plain text using Struts 1.x?
<c:out value="${theActionForm.label}" />using the JSTL or, if you really like Struts tags,<bean:write name="theActionForm" property="label" />.This assumes that the action form is registered under the attribute name “theActionForm”, and has a
getLabel()method.