一个让人很无奈的struts问题……
开发环境:JuilderX+Weblogic+Win2000Server
错误状态:
1、在tomcat下能正常运行;
2、在weblogic8下出现如果下错误信息:
……
<2005-2-17 上午11时53分50秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=9201258,name=myweb,context-path=/myweb)] Servlet failed with Exception
weblogic.servlet.jsp.JspException: (line 6): Error in using tag library uri='/WEB-INF/struts-html.tld' prefix='html': The Tag class 'org.apache.struts.taglib.html.FormTag' has no setter method corresponding to TLD declared attribute 'name', (JSP 1.1 spec, 5.4.1)
at weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:1243)
at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1371)
at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1269)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5081)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4919)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4765)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2143)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1929)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1802)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1209)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1183)
at weblogic.servlet.jsp.JspLexer.buildTimeInclude(JspLexer.java:934)
at weblogic.servlet.jsp.JspLexer.mINCLUDE_DIRECTIVE(JspLexer.java:5017)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4775)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2143)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1929)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1802)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:232)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:388)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>