struts动作控制类这样写的
 content=showcontent.getContent();//从数据库里把内容读出来,然后替换
            while((index=content.indexOf("\n"))!=-1)
              content=content.substring(0,index)+"<br>"+content.substring(index+1);
            while((index=content.indexOf(" "))!=-1)         content=content.substring(0,index)+"&nbsp"+content.substring(index+1);
          
           setContent(content);
网页jsp中这样写
 <pre> <bean:write name="info" property=<s:property value="<s:property value="content"/>"/> filter="false"/></pre>没显示这样写<s:property value="content"/>网页这样显示有<br>等符号还有个问题是
 <%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>这句有错的,需要导入什么包的吗