I'm not that experienced in Hibernate (yet) but is there any reason to not use a String property?
If you did then to output the content you want (assuming your instance of Description is in the Model with key "description") would be
Code:
<c:out value="${description.detail}" escapeXml="false" />
If you need to use the byte array to keep hibernate happy consider adding the following method to your Description class...
Code:
/**
* No hibernate mapping this is transient.
*/
public String getHtml() {
return new String( detail );
}
you could then use the following in your JSP
Code:
<c:out value="${description.html}" escapeXml="false" />
HTH
Jon