jsp存储textarea到数据中换行问题1:2:3:在table后面加上 style="word-break:break-all"4、在jsp中如:
1:<% String demo=request.getParameter("demo"); int index=0; while((index=demo.indexOf("\n"))!=-1) demo=demo.substring(0,index)+""+demo.substring(index+1); out.print(demo); %>2: <%