You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tapas Bhattacharya <Ta...@kaleconsultants.com> on 2002/02/27 11:19:58 UTC

O'Reilly Example

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>