我使用 Eclipse Juno、Spring 3.2.6.RELEASE、Weblogic 10.3.6。
我有以下jsp
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<form:form id="create-survey" method="POST" action="/eusurvey/noform/management/createNewSurvey" style="display: none">
<input type="hidden" name="shortname" id="create-survey-shortname" value="" />
<input type="hidden" name="uuid" id="create-survey-uuid" value="" />
<input type="hidden" name="original" id="create-survey-original" value="" />
<input type="hidden" name="security" id="create-survey-security" value="" />
<input type="hidden" name="audience" id="create-survey-audience" value="" />
<input type="hidden" name="surveylanguage" id="create-survey-language" value="" />
<textarea style="display: none;" name="title" id="create-survey-title"></textarea>
<input type="hidden" name="listform" id="create-survey-listform" value="" />
<input type="hidden" name="contact" id="create-survey-contact" value="" />
<input type="hidden" name="contactlabel" id="create-survey-contact-label" value="" />
</form:form>
当我执行应用程序时,我收到错误:
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF
/views/auth/tos.jsp
tos.jsp:79:21: Error in "menu.jsp" at line 358: The method
setDynamicAttribute(null, String, String) is undefined for the type FormTag
<%@ include file="../menu.jsp" %>
^-----------^
at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:244)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:327)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
这个错误是什么意思?。什么是动态属性?