我从库中提取数据例如String str="{$h1}aaa{$/h1}";
str=str.replaceAll("{$h1}","<h1>");
str=str.replaceAll("{$/h1}","</h1>");
为什么会org.apache.jasper.JasperException: Illegal repetition
{$h1}如果不用{$h1}就好像不会有问题,JSP中什么是ASP中的占位符?那该怎么替换这个呢!
str=str.replaceAll("{$h1}","<h1>");
str=str.replaceAll("{$/h1}","</h1>");
为什么会org.apache.jasper.JasperException: Illegal repetition
{$h1}如果不用{$h1}就好像不会有问题,JSP中什么是ASP中的占位符?那该怎么替换这个呢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货