我用的是jdk1.5版本
我用这种方法替换cont=cont.replaceAll("\n","<br>");
但是在运行的时候提示错误为:
org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 5 in the jsp file: /Post.jsp
Generated servlet error:
String literal is not properly closed by a double-quote
我用这种方法替换cont=cont.replaceAll("\n","<br>");
但是在运行的时候提示错误为:
org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 5 in the jsp file: /Post.jsp
Generated servlet error:
String literal is not properly closed by a double-quote
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货