I appreciate all the answers. I also apologize for not being clear in my question.
I have a custom tag. that is implemented as a java file extending TagSupport
public class MyTag extends TagSupport {
public int doStartTag() throws JspException {
try {
pageContext.getOut().print("<b>
test statement that is bold</b> <u>test statement that is underlined</u>");
is this the best way to do this? Or can i use some htmlwriter to create that html statment?