encountered the same problem, if you look at the tld file in the error and the Class mentioned, you will find that the attribute path is mentioned only in the TLD file but if you look at the class definition there is no setter for this attribute. to make the example work, remove the complaining attributes from the TLD file and it will work fine.
"Tapas Bhattacharya" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi All, > > Has any one tried struts example from O'Reilly (onjava). Am getting the > flowing error : > > Parsing of JSP File '/Login.jsp' failed: > > /Login.jsp(-1): Error in tag library at: 'form': The Tag class > 'org.apache.struts.taglib.html.ImageTag' has no setter method corresponding > to TLD declared > attribute 'path', (JSP 1.1 spec, 5.4.1) > probably occurred due to an error in /Login.jsp line -1: > > Wed Feb 27 12:08:17 GMT-05:00 2002 > > > Weblogic Logic log > > Wed Feb 27 12:29:43 GMT-05:00 2002:<E> <WebAppServletContext-strutsSample> > Servl > et failed with Exception > weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: > 'form': T > he Tag class 'org.apache.struts.taglib.html.ImageTag' has no setter method > corr > esponding to TLD declared attribute 'path', (JSP 1.1 spec, 5.4.1) > at java.lang.Throwable.fillInStackTrace(Native Method) > at java.lang.Throwable.fillInStackTrace(Compiled Code) > at java.lang.Throwable.<init>(Compiled Code) > at java.lang.Exception.<init>(Compiled Code) > at java.lang.RuntimeException.<init>(RuntimeException.java:47) > at weblogic.servlet.jsp.JspException.<init>(JspException.java:9) > at weblogic.servlet.jsp.JspException.<init>(JspException.java:14) > at > weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java: > 138) > at weblogic.servlet.jsp.StandardTagLib.processTag(Compiled Code) > at weblogic.servlet.jsp.StandardTagLib.processTagElements(Compiled > Code) > at > weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125) > at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:95) > at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(Compiled > Code) > at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(Compiled Code) > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(Compiled Code) > at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1817) > at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code) > at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code) > at weblogic.servlet.jsp.JspLexer.parse(Compiled Code) > at weblogic.servlet.jsp.JspParser.doit(Compiled Code) > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:125) > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:109) > at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code) > at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code) > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227) > at weblogic.servlet.internal.ServletStubImpl.getServlet(Compiled > Code) > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled > Code > ) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C > ode) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C > ode) > at > weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile > d Code) > at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code) > at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code) > at weblogic.kernel.ExecuteThread.run(Compiled Code) > > Thanks in advance. > > Tapas > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >