Results 1 to 2 of 2

Thread: EL problem

  1. #1
    preetisharma is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Default EL problem

    Hi there,

    I am facing a problem calling a java method using EL.

    i have a TLD that has a function block. the structure of my tld goes like this
    <taglib>
    <uri>testme</uri>
    <tag>
    .
    .
    .
    .</tag>
    <function>
    <name>xyz</name>
    <function-class>...</function-class>
    <function-signature>boolean abc(java.util.Map map)
    </function-signature>
    </function>


    the jsp has the following syntax

    <%@ taglib uri="testme " prefix="me"%>

    method call in jsp : here : ${me:xyz() }

    When I try to run the jsp with the text as above .. i get an error that uri cannot be resolved. I assume it could be tld but the Tld is in WEB-INF with all the other ones that I can call successfully. Any ideas what could be causing this.

    Any help appreciated..
    tx

  2. #2
    dswastik is offline Senior Member
    Join Date
    Dec 2008
    Location
    Kolkata
    Posts
    283
    Rep Power
    6

    Default try with the complete path

    <%@ taglib uri="/WEB-INF/testme.tld" prefix="me"%>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •