TLD Tools Proposal

1st Draft
14 Dec 2007

TLD Tools is a proposed open source component under the Eclipse WTP Source Editing subproject.

This component proposal is similar to a Project Proposal (as defined in the Eclipse Development Process document) and is written to declare its intent and scope. This proposal is written to solicit additional participation and input from the Eclipse community.

Comments can be made in bug 196418.


Eclipse is continuously improving its tools support for developing Web/Java EE application. The Web Tools Platform allows the user to easily develop, validate, deploy and test their applications. One of the main area in the Java EE development are JSPs.

In order to enhance the user experience while developing JSPs the current proposal is focused on custom tag libraries.

JavaServer Pages (JSP) tag libraries define declarative, modular functionality that can be reused by any JSP page. Tag libraries reduce the necessity to embed large amounts of Java code in JSP pages by moving the functionality of the tags into tag implementation classes. Tag extension mechanism is a technology, described in JavaServer Pages specification. In accordance with this technology, in a JSP page could be introduced new actions. Actions are elements that can create and access programming language objects and affect the output stream. The JSP specification defines standard actions that must be provided by any compliant JSP implementation. In addition to the standard actions, JSP technology supports the development of reusable modules called custom actions. A custom action is invoked by using a custom tag in a JSP page. A tag library is a collection of custom tags.


The support of tag extension mechanism in WTP shall include support for creation of custom tag libraries.


For minimal support of tag libraries would be enough the following:

Creation of TLD file.
Creation of Tag Handlers and Tag Files (for TLD 2.0).
Import/Export and packaging.
JSP features


Initial contributions will be made from the attachment in bug 196418

Contributions to the TLD Tools component will be made under the "still not know" namespace.

Tentative Plan

Initial presence in Jan 2008

Initial committers

The initial committers will focus on converting and integrating the provided bug attachment in WTP.

Component Lead/Committer

User community

The user community includes many current Eclipse WTP users, but may also attract new Java EE developers who will start using WTP for its enhanced JSP and Custom TLD support.

Related Bugs