I am using Struts to pass the editor String to an Action, and am redirecting to the JSP in the event of an error. In place of the sample text, I have added:
to place the generated content back in the field, so it doesn't get lost because of the error. However, when it appears, it is not visually formatted. It's literally just the HTML, such as: <div align="center">This is <strong>sample </strong>text. Please place your text here.</div>
Forgot to add that the initial sentence does appear properly in the text field (ie, with bold around the word "sample"). It's only when the error occurs that it fails to properly display in the text field.
Anyone know how to get around this?
<c:choose> <c:when test="${!empty checkinForm.editorDefault}"> <c:out value = "${checkinForm.editorDefault}" /> </c:when> <c:otherwise> This is <strong>sample </strong>text. Please place your text here. </c:otherwise> </c:choose>
to place the generated content back in the field, so it doesn't get lost because of the error. However, when it appears, it is not visually formatted. It's literally just the HTML, such as: <div align="center">This is <strong>sample </strong>text. Please place your text here.</div>
Forgot to add that the initial sentence does appear properly in the text field (ie, with bold around the word "sample"). It's only when the error occurs that it fails to properly display in the text field.
Anyone know how to get around this?
Re: Java TLD question
i.e. should work.
Hope this helps, good luck
Re: Java TLD question
Thanks!