Struts 1.x: How to output HTML string from an ActionForm paramete

We have the following ActionForm

public class DocListForm extends ActionForm {
private String multiPagesHtml = "your HTML string .....";
}

Then, in the jsp file we can use the following:
<bean:write name="docListForm" property="multiPagesHtml" filter="false"/>

with FILTER = FALSE

in order to display the HTML output of the multiPagesHTML

No comments:

Post a Comment