tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Scott" <msc...@outerforce.com>
Subject RE: Request Taglib
Date Wed, 31 Jan 2001 23:10:14 GMT
RE: Request TaglibTo what bean is this get property referring. is it the
TagHandler ?, I'm still in the dark..
even your code refers to using introspection on a bean, I understand reason
why
the getProperty tag is used, my dilema is, what purpose is it serving in
that Taglib
using the hdrs sample as a reference...

>Weblogic 5.1 doesn't yet support the JSP 1.2 implementation of
jsp:getProperty
I'm moving to 6.0 this week, so does this mean that property tag is
compatible with 6.0 ?
thnx,
Mark
  -----Original Message-----
  From: Delagrange, Morgan [mailto:mdelagra@us.britannica.com]
  Sent: Wednesday, January 31, 2001 5:53 PM
  To: 'taglibs-user@jakarta.apache.org'
  Subject: RE: Request Taglib


  Ah, you mean the request tag specifically.  Weblogic 5.1 doesn't yet
support the JSP 1.2 implementation of jsp:getProperty.  If you want to use
that functionality, I wrote a custom tag that you can use:


http://jakarta.apache.org/cvsweb/index.cgi/jakarta-taglibs/application/doc/w
eb/GetPropertyTag.java?rev=1.1.1.1&content-type=text/vnd.viewcvs-markup

  If you really want it to emulate the JSP spec, you should use
pageContext.findAttribute() to get the tag, rather than
pageContext.getAttribute() (I goofed it).
    -----Original Message-----
    From: Mark Scott [mailto:mscott@outerforce.com]
    Sent: Wednesday, January 31, 2001 4:37 PM
    To: taglibs-user@jakarta.apache.org
    Subject: RE: Request Taglib


    This is the example code:
    to my understanding jsp:getProperty is for bean property access.
    but there is no hdrs bean to be accessed...
    -I've only mentioned this piece of code but the same property tag shows
up
    in other places with no bean to get inf from...
    Am I missing something..

    <req:headers id="hdrs">
       <jsp:getProperty name="hdrs" property="name"/> = <jsp:getProperty
name="hdrs" property="header"/>
    </req:headers>



     request.tld as resource /WEB-INF/request.tld in Web Application root:
    Wed Jan 31 16:37:01 EST 2001:<E> <ServletContext-General> Servlet failed
with Ex
    ception weblogic.servlet.jsp.JspException: (line 27): hdrs is not
defined as bean
            at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:574)
            at
weblogic.servlet.jsp.JspLexer.mXML_GET_PROPERTY(JspLexer.java, Compil
    ed Code)
            at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1526)
            at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1431)
            at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java,
Compiled Code)

            at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled
Code)
            at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled
Code)
            at weblogic.servlet.jsp.JspParser.parse(JspParser.java:109)
            at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
            at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java, Co
    mpiled Code)
            at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java,
Compiled Code)

            at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
            at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:164)
            at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:99)
            at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:123)
            at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:742)
            at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:686)
            at
weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
    ContextManager.java:247)
            at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
    a:361)
            at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)

            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
      -----Original Message-----
      From: Delagrange, Morgan [mailto:mdelagra@us.britannica.com]
      Sent: Wednesday, January 31, 2001 4:27 PM
      To: 'taglibs-user@jakarta.apache.org'
      Subject: RE: Request Taglib


      Sure, I have.  What's the problem?

      > -----Original Message-----
      > From: Mark Scott [mailto:mscott@outerforce.com]
      > Sent: Wednesday, January 31, 2001 3:22 PM
      > To: taglibs-user@jakarta.apache.org
      > Subject: Request Taglib
      >
      >
      > hi,
      >       has anyone gotten the jakarta request taglib to work in
      > weblogic ?
      >
      > Mark
      >


Mime
View raw message