problems with taglibs in struts need help please

hi

i need to convert my project to struts1.2 from struts1.0

iam usingthe taglibs

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

when i complie it is done properly but iam getting the following error

i was totally upset with the following error

Can any body help me please.

weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/WEB-INF/struts-html.tld' prefix='html': The Tag class 'or

g.apache.struts.taglib.html.CheckboxTag' has no setter method corresponding to TLD declared attribute 'errorKey', (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:5053)

at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4891)

at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4737)

at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2147)

at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1933)

at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1806)

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:234)

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.TailFilter.doFilter(TailFilter.java:28)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at com.syrrx.pbreg.util.LoadParameterFilter.doFilter(LoadParameterFilter.java:81)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)

at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)

at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)

at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at com.syrrx.pbreg.util.LoadParameterFilter.doFilter(LoadParameterFilter.java:81)

at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)

at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

>

thanks in advance

[4704 byte] By [sri07a] at [2007-11-27 2:19:53]
# 1
Try using <%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>it may work..are u sure u have put all the latest jar files in ur lib for ur application?
mshanua at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks for u suggestion . i tried with that but it is not working still iam gettin the errorany others suggesstions please
sri07a at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
have u configured ur tlds in web.xml? are u using any where an attribute named 'errorKey' ?
mshanua at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
I have configured all 3 taglibs in web.xmland i am not using errorkey .
sri07a at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
arent u using the latest tld files? and latest jar files?
mshanua at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
first i must say thanks for ur cooperation iam using <tlibversion>1.2</tlibversion> files
sri07a at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7

hi,

u have to give mappings to the tlds.and all the tlds must be in ur lib folder if ur working in ecllipse u have to add external jars also.In web.xml u have to give the mappings for tlds. U have to give the same uri in web.xml also.check it once.

Message was edited by:

nani_2007

nani_2007a at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
Sorry did I read that right? Converting from 1.2 to 1.0?!?!?edit: no I didn't read that right. Forget I said anything
evnafetsa at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 9
http://struts.apache.org/mail.html
appy77a at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 10
coverting struts1.0 to 1.2
sri07a at 2007-7-12 2:20:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...