请问这是什么原因,怎么解诀。出错信息为
Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /InsertNewNotice.jsp(1,18) equal symbol expected
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:195)
at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:150)
at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:162)
at org.apache.jasper.compiler.ParserController.getPageEncodingForJspSyntax(ParserController.java:451)
at org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:392)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:173)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)以下为InsertNewNotice.jsp 的代码 <%@ page include file="taglibs.jsp"%>
 <html:error/><html:form action="/InsertNewNotice.do" method="post" focus="title">
    <centen>
      <table border="0" cellspacing="2" cellpadding="2" width="100%">
         <tr>
           <td width=40% align="right" ><bean:message key="InsertNewNotice.title"/></td>
           <td width=60%><html:text property="title"/></td>
         </tr>
         
         <tr>
           <td align="reight"><bean:message key="InsertNewNotice.content"/></td>
           <td><html:textarea property="content"/></td>
         </tr>
         
         <tr>
           <td>
              <html:submit property="submit">
                <bean:message key="InsertNewNotice.submit">
              </html:submit>
           </td>
           <td left="left">
              <html:reset>
                 <bean:message key="InsertNewNotice.reset"/>
              </html:reset>
           </td>
         </tr>
      </table>
    </centen>
</html:form>

解决方案 »

  1.   

    taglibs.jsp:<%@ page language="java" pageEncoding="BIG5" contentType="text/html;charset=BIG5" %><%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
    <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
      

  2.   

    <bean:message key="InsertNewNotice.submit">
    貌似没有结束标签
      

  3.   

    align="reight"?-> right
    <centen>?-> center这是啥代码阿
      

  4.   

    加了也一样,还是org.apache.jasper.JasperException。
      

  5.   

    <%@   page   include="taglibs.jsp.jsp"%>    
      or   
     <%@   include   file="taglibs.jsp.jsp"%>