The html generated by the html:text tag is html compliant, but not XML compliant. It is missing a closing </input>.

This does not pose a problem if the output of the jsp is rendered by a browser, but I am using XSLT to decorate the page before the browser sees it. This tag therefore generates XML errors during the translation phase.

Although I now have a work around (dont use the html:text tag) the tag is still broken. Can someone suggest a better work around?

Example output produces by the struts-example login.jsp page:

<input type="text" name="username" maxlength="16" size="16" value="">

generated by

<html:text property="username" size="16" maxlength="16"/>

Julian



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to