You have to build your INPUT Tag "value" attribute with quote delimiters. If you don't use this quotes, first blank character is interpreted as end of the value string.
You should try to get used using XHTML notation for your HTML code, with lowercase tags and quoted attribute values: pageContext.getOut().print("<td class=\"label\">Group Name</td>"); pageContext.getOut().print("<td><input id=\"text1\" name=\"text1\" value=\""); pageContext.getOut().print(str); pageContext.getOut().print("\"></td>"); Nico -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>