Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tag lib not found??

0 views
Skip to first unread message

Jyoti

unread,
Jul 6, 2001, 8:01:08 PM7/6/01
to
HI ,

In my application I need to use a custom tag library provided by jsp-tags.

For this tag library i made adirectory called tlds under web-inf directory of
the web application and placed the .tld file under it.

Then i created a folder called lib under web-inf directory and placed the jar
file.

In the jsp file the code says:
<%@ taglib uri="web-inf/tlds/taglib.tld" prefix="pg" %>
.rest of the code

But i get the following error wen i run this jsp page in the browser

org.apache.jasper.JaspaerException: Could not locate TLD Meta-INF/taglib.tld

Thanx for the help.

Jyoti.


---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp

Berndt Hamboeck

unread,
Jul 9, 2001, 3:18:26 AM7/9/01
to
From the programmers guide:

Configuring TLD mappings in Jaguar Manager
1 Display the All Properties tab in the Web Application Properties dialog
box.
2 If necessary, add an entry for the property
com.sybase.jaguar.webapplication.taglib. Otherwise, modify the
existing value for this property.
3 In the property value, specify each mapping as follows:
(taglib-uri= alias, taglib-location= real-path)
Where alias is the path used in JSP source code, and real-path is the TLD
files location relative to the Web application&#8217;s context root.
If multiple mappings are required, separate each by a comma. For example
(the following must be entered without line breaks or carriage returns):
(taglib-uri=taglib.tld, taglib-location=TLD/abctaglib.tld),
(taglib-uri=lib2.tld,taglib-location=TLD/lib2v2.tld)

On Fri, 06 Jul 2001 20:01:08 -0400,
in sybase.public.easerver.general


Jyoti <pinky_...@hotmail.com> wrote:
>HI ,
>
>In my application I need to use a custom tag library provided by jsp-tags.
>
>For this tag library i made adirectory called tlds under web-inf directory of
>the web application and placed the .tld file under it.
>
>Then i created a folder called lib under web-inf directory and placed the jar
>file.
>
>In the jsp file the code says:
><%@ taglib uri="web-inf/tlds/taglib.tld" prefix="pg" %>

>..rest of the code

Berndt Hamboeck

unread,
Jul 10, 2001, 1:42:29 AM7/10/01
to
Hi,

I get
Jul 10 07:19:10 2001: Warning: Unknown element uri in TLD

I set the property to:

(taglib-uri=http://jsptags.com/tags/navigation/pager,taglib-location=/WEB-INF/js
p/pager-taglib.tld)


On Mon, 09 Jul 2001 16:44:44 -0400,


in sybase.public.easerver.general
Jyoti <pinky_...@hotmail.com> wrote:

>HI Berndt,
>
>Thanx for the reply.
>
>I still have problems.
>
>I have to use the tag lib provided by jsp-tags
>
>I downloaded the required information from jsp-tags.com
>
>In my web application I created a folder under
>repository/webapplication/webappname/web-inf/jsp
>and placed the .tld file there.
>
>In the jaguar manager I added the property:
>com.sybase.jaguar.webapplication.taglib with the value:
>(taglib-uri=pager-taglib.tld,taglib-location=WEB-INF/jsp/pager-taglib.tld)
>
>According to the instructions I have to place the jar file under the lib
>directory under web-inf folder and place the jar file .ie.
>web-inf/lib folder has the jar file.
>
>But I still get the error:


>org.apache.jasper.JaspaerException: Could not locate TLD Meta-INF/taglib.tld
>

>Thanx,
>Jyoti.
>
>
>
>
>
>On Mon, 09 Jul 2001 03:18:2 6 -0400,
> in sybase.public.easerver.general

Berndt Hamboeck

unread,
Jul 10, 2001, 2:15:03 AM7/10/01
to
Seems Jaguar has a problem here :(

Maybe someone can jump in here....

Jul 10 07:52:40 2001: org.apache.jasper.JasperException: Attributes are invalid
according to TagInfo

On Tue, 10 Jul 2001 01:42:29 -0400,

0 new messages