使用JSP在TextArea中输出多行

问题描述

| 如何在没有额外空格的一行接一行的TestArea行中显示列表。即:
this
that
the
other
这是我的尝试:
<div class=\"text\">
    <label for=\"output_string\">Output:</label> `
    <textarea rows=\"10\" cols=\"20\">
        <c:forEach var=\"x\" items=\"${messagelist}\">${x}</c:forEach>
    </textarea>
</div>
    

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)