users
[Top] [All Lists]

Re: [cinjug-users] Including tag libraries in a JSP

To: "Bill Manuel" <bill.manuel@xxxxxxxxx>
Subject: Re: [cinjug-users] Including tag libraries in a JSP
From: "Mike Ball" <mwball@xxxxxxxxx>
Date: Thu, 23 Mar 2006 14:32:00 -0500
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H7iWgp1+W1J8sQeF1TTcRB5oPIl+Qky6mUIq5Heo5HDLEu+x8wtYgNZYO2BqlkxbdEkc1SYcAhfXxxj30eNh9e28TPWSr8eh+mSYOhbIb41BR7Mi0Tw//OeVGuN/3WV1kL5N1UasgcxwHi1Qxb4CK2Mn2RChiYsWC867ienxcz8=
In-reply-to: <bd171aba0603231058v23f6da4bm88c11c534fb78110@mail.gmail.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <bd171aba0603231058v23f6da4bm88c11c534fb78110@mail.gmail.com>
That should work, what container are you using?

I use Tomcat 5.5+ and it's working for me.

Is your path correct?  You're saying the include folder is off the
root?  Maybe you want to do the following which would make it
relative...

"include/taglibs.jsp"

Mike

On 3/23/06, Bill Manuel <bill.manuel@xxxxxxxxx> wrote:
> I am migrating an app from a servlet 2.3 container to a 2.4 container and I
> am having problems including tag libraries on the pages. If I include this
> on the page everything works fine:
>
> <%@ taglib uri=" http://java.sun.com/jsp/jstl/core";
> prefix="c" %>
>
> If I try to put all of the taglibs in one page and add that page to all
> pages using an include, the taglibs do not work anymore.  I don't get any
> errors, the tags just do not parse, they just show up in the page source.
>
> I am including them on the page like this:  <%@ include
> file="/include/taglibs.jsp"%>
>
> Anyone have any ideas?
>
> Thanks
> Bill Manuel
>
>

<Prev in Thread] Current Thread [Next in Thread>