# Web Development Toolkit

## Requirements

The following requirements have to be met to be able to work with the Web Development Toolkit.

Software | Agile e6 Web Client has to be installed
| JDK (Java Development Kit) 1.4.2 has to be installed
Browser | Internet Explorer 6.0 or higher
| Mozilla 1.7.5 or higher
Knowledge | JSP (Java Server Pages)
| Java-Script
| HTML

### web.xml File

The web.xml file is located under C:\Agile_e6\epclt\webplm\webapps\ROOT\WEB-INF. The web.xml file is a central file for configuration to modify the web client an dthe EWDT.
The WEBAPPS folder contains the file Root.war that has to be expanded into the ROOT folder first.

The Root.war file will be automatically expanded into the ...\webplm\webapps\ROOT directory.

<!-- and --> | To activate the demonstration application, the uncomment signes have to be removed.
1. servlet-name | The internal name of that servlet.
2. servlet-class | The fully qualified name of the servlet class (with package definition).
3. init-param defaultjsp | The name of the JSP which should be started when the application is started.
4. init-param jsppath | The parameter value points to custom_web. This is the relative directory where all JSP files of that application will be stored.
For a customized application the parameter value points to a newly set up relative directory.
5. init-param main URI | For the Web Development Toolkit this parameter must be set to "custom".
6. servlet-name | Name of the servlet as defined above in the servlet definition section.
7. url-pattern | Defines the URL with which the Web Development Toolkit servlet is started, e.g. http://localhost:8080/myapp.

### Tag Library Descriptor

The tag library (web-ewdt.jar) is installed in the directory C:\Agile_e6\epclt\webplm\shared\lib.

Each Web Development Toolkit tag represents a Java class which implements the logic for that tag to be processed. These Java classes are packed to an archive (jar file) that has to be installed on the web server. The so-called tag library. Each tag is defined in a "Tag library descriptor file" (ewdttags.tld, which is an XML file) and is also intalled on the web server. In this file each tag is assigned to the respective Java class.

1. taglib-uri | Defines the name which will be used in JSPs to define which taglib library will be used.
2. taglib-location | Name and location of the taglib library descriptor file. This file defines the mapping of the Web Development Toolkit tags and the corresponding Java classes which implement the logic.