- String content = ...// 从数据库里拿到内容
- content = content.replace("/n","
- ");
- content = content.replace(" "," ");
- content = content.replace(" <","<");
原文地址:http://www.java2000.net/viewthread.jsp?tid=4364
原文地址:http://www.java2000.net/viewthread.jsp?tid=4364