Topic: 关于STRUTS例子问题 |
Print this page |
1.关于STRUTS例子问题 | Copy to clipboard |
Posted by: hanson888 Posted on: 2004-11-29 14:36 我在WEBLOGIC 上部署 STRUTS里MAIL的例子. 报了如下错误,请问如何解决. /Registration.jsp(2): Error in using tag library uri='/tags/app' prefix='app': The Tag class 'org.apache.struts.webapp.example.CheckLogonTag' has no setter method corresponding to TLD declared attribute 'name', (JSP 1.1 spec, 5.4.1) probably occurred due to an error in /Registration.jsp line 2: <%@ taglib uri="/tags/app" prefix="app" %> 可在WEB.XML里有这个TAG的定义. 请问应该从哪里着手. |
2.Re:关于STRUTS例子问题 [Re: hanson888] | Copy to clipboard |
Posted by: WeiterWay Posted on: 2004-11-29 18:35 报错信息已经说明:不是TLD的问题。似乎是servlet容器问题,不支持JSP1.1? 下面是JSP 1.1规范的说明: B.3.3 Generating the JSP Page Implementation Class The JSP page implementation class generated by the JSP container includes code that: · Generate the appropriate setter method invocations to set values for attributes .... cheers! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |