I am not using the <html:image path="..."/> copied here is my test JSP
<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <html> <head> </head> <body> <h3>Enter your username and password to login:</h3> <html:form action="login.do" focus="userName" > <html:text property="userName" size="30" maxlength="30"/> <html:password property="password" size="16" maxlength="16" redisplay="false"/> <html:submit property="submit" value="Submit"/> <html:reset/> </html:form> </body> </html> > -----Original Message----- > From: Steel, Toby [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 21, 2002 3:19 PM > To: 'Struts Users Mailing List' > Subject: RE: The Tag class 'org.apache.struts.taglib.html.ImageTag' > has no set ter method > > See the attribute list for html:image at > http://jakarta.apache.org/struts/userGuide/struts-html.html#image > > You appear to have used <html:image path="..."/> > instead of <html:image page="..."/> > or <html:image src="..."/> > > > Toby Steel > > -----Original Message----- > From: Meel, Himanshu [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 21, 2002 3:11 PM > To: [EMAIL PROTECTED] > Subject: The Tag class 'org.apache.struts.taglib.html.ImageTag' has no > set ter method > > > Hey, > > I am new in the World of Struts. > I am getting the follwoing error while trying to use Tag Lib from the > JSP... > Tue May 21 15:09:33 EDT 2002:<E> <WebAppServletContext-DII> Servlet failed > with Exception > weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: > 'form': The Tag class 'org.apache.struts.taglib.html.ImageTag' has no > setter > metho > d corresponding to TLD declared attribute 'path', (JSP 1.1 spec, 5.4.1) > at > weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138) > at > weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:264) > at > weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java > :1 > 46) > 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(JspLexer.java:3873) > at > weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3623) > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3484) > at > weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1817) > at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1658) > at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1548) > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:888) > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69) > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:125) > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:109) > at > weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242) > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:312) > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227) > at > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java: > 20 > 0) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja > va > :115) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja > va > :138) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI > mp > l.java:915) > at > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextI > mp > l.java:879) > at > weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletConte > xt > Manager.java:269) > at > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365 > ) > at > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253) > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) > > Let me know what I have to do. > > Regards, > Himanshu Meel > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>