Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to add Tagg Library to jetty under equinox
How to add Tagg Library to jetty under equinox [message #126292] Mon, 23 February 2009 17:34 Go to next message
Ignacio M is currently offline Ignacio MFriend
Messages: 20
Registered: July 2009
Junior Member
Before anything, I want to say thanks to this group, I'm being learning a
lot with the answers that I get from this group. :)

I was playing with eclipse equinox and jetty. And I want to add some
custom jsp tags jslt and use them under this platform but I'm don't know
where to look to be able to add them. Does I need to play with web.xml? Is
there an extension point to do this? What do I need to do with my class
path?

Thanks.
Ignacio M.
Re: How to add Tagg Library to jetty under equinox [message #126444 is a reply to message #126292] Thu, 26 February 2009 02:07 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Ignacio,

There's a little bit of information on TLD discovery in the javadoc for
org.eclipse.equinox.jsp.jasper.JSPServlet. Here's the relevant chunk...

* <p>
* TLD discovery is slightly different, to clarify it occurs in one of
three ways:
* <ol>
* <li> declarations found in /WEB-INF/web.xml (found either on the
bundleResourcePath in the bundle or in the ServletContext)</li>
* <li> tld files found under /WEB-INF (found either on the
bundleResourcePath in the bundle or in the ServletContext)</li>
* <li> tld files found in jars on the Bundle-Classpath (see
org.eclipse.equinox.internal.jsp.jasper.JSPClassLoader)</li >
* </ol>
* </p>
--
despite the comment this is actually not very different from the regular JSP
TLD lookup algorithm.

Another place to look is at the CVS repo at the following site:
Host: sse-examples.cvs.sourceforge.net
Repository Path: /cvsroot/sse-examples

In particular you might look at the org.eclipse.equinox.jsp.jstl and
org.eclipse.equinox.jsp.jstl.examples projects as they make use of tag
libraries.

HTH
-Simon



"Ignacio M" <nmorenor@gmail.com> wrote in message
news:b20364211c10b88f9cc9048979348430$1@www.eclipse.org...
> Before anything, I want to say thanks to this group, I'm being learning a
> lot with the answers that I get from this group. :)
>
> I was playing with eclipse equinox and jetty. And I want to add some
> custom jsp tags jslt and use them under this platform but I'm don't know
> where to look to be able to add them. Does I need to play with web.xml? Is
> there an extension point to do this? What do I need to do with my class
> path?
>
> Thanks.
> Ignacio M.
>
Re: How to add Tagg Library to jetty under equinox [message #126573 is a reply to message #126444] Fri, 27 February 2009 16:44 Go to previous message
Ignacio M is currently offline Ignacio MFriend
Messages: 20
Registered: July 2009
Junior Member
Thanks. I think I have some tld's working now. Just need some adjustments.

Ignacio M
Previous Topic:Eclipse Equinox Portal Support
Next Topic:Getting Equinox Transforms (XSLT) to work
Goto Forum:
  


Current Time: Fri Apr 19 01:09:37 GMT 2024

Powered by FUDForum. Page generated in 0.01873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top