日期:2014-05-17 浏览次数:20699 次
public String chat() { oldStr += "\n"; oldStr += newStr; session.put("chatContent", oldStr); return "chat"; }
<textarea name="oldStr" id="oldStr" cols="45" rows="5"><s:property value="oldStr"/></textarea>