java-jsp特殊字符处理

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

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