DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6736>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6736 is the struts-form.tld TLD file missing something? Summary: is the struts-form.tld TLD file missing something? Product: Struts Version: 1.0 Beta 2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I downloaded the 1.0.2 version of struts. Using Weblogic6.1, WINNT service pack 4.0, The tutorial on http://www.onjava.com/pub/a/onjava/2001/11/14/jsp_servlets.html gives you a simple example to try. I tried to run the example encountered the following problem everytime i ran(the trace is at the end.) The example complaining about the following attribute from the struts-form.tld for <tag> <name>image</name> <tagclass>org.apache.struts.taglib.html.ImageTag</tagclass> <attribute> <name>path</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>isKey</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> it complained about the setter for path and isKey and I looked at the class it did not have a setter. I removed these attribute from the tld file, the error was gone. I am using the 1.0.2 src. And there were multiple postings on the struts newsgroup for the same, everytime i replied them the same and it seems the problem gets fixed using the above thing. Thanks Rumpa Giri The compilation error follows: 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) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>