90919293949596979899100
htmlTopTag.doStartTag(); bodyContent.print(elementAsString); htmlTopTag.setBodyContent(bodyContent); try { htmlTopTag.doEndTag(); } catch (Exception e) { throw new IOException(e.getMessage()); }