java-jsp特殊字符处理

str = str.replaceAll("'", "''").replaceAll("\"", """);

posted @ 2014-07-07 18:17  pretty flower  阅读(377)  评论(0编辑  收藏  举报