while(jianjie.indexOf("\n")!=-1){
jianjie = jianjie.substring(0,jianjie.indexOf("\n"))+"<br>"+jianjie.substring(jianjie.indexOf("\n")+1);
}
while(jianjie.indexOf(" ")!=-1){
jianjie = jianjie.substring(0,jianjie.indexOf(" "))+" "+jianjie.substring(jianjie.indexOf(" ")+1);
}
out.println(jianjie);
没有评论:
发表评论