MailReader for Eclipse
- Download and install the latest FireFox

- Open FireFox, and from <> install the Selenium IDE add-on

- Download and install the latest "JDK 5.0 Update"

- Create a \MRTC folder on a local drive
- Download the latest Tomcat "5.5"
and extract the zip archive under MRTC to create a MRTC/apache-tomcat-5.5.23 folder. Rename the folder "apache-tomcat". - Download the Struts 2.0.8 JARs
(struts-2.0.x-lib.zip), and extract the zip under MRTC to create MRTC/struts-2.0.8. Don't rename the folder. - Download "Eclipse IDE for Java EE Developers"
(the one that includes the web tools!) and extract the zip archive under the MRTC to create a MRTC/eclipse folder.
Importing projects from CD
Using the Eclipse File/Import feature to import the labs does not seem to create "Dynamic Web" projects. For now, if you need to setup a new lab, create a new Dynamic Web project, and copy over the JARs and code
- Open Eclipse and select \MRTC\workspace as the workspace folder
- Select File/New/Project/Web/Dynamic Web Application
- Enter the lab name as the project name, and select Next
- Accept the default "Project Facets" (Dynamic Web Module and Java), and select Next
- For Java Source Directory, change "src" to "Source", and select Finish
- If offered, do not switch to the J2EE perspective
- Open Windows Explorer (or equivalent) and copy the JARs from \MRTC\labs\lib to the WEB-INF\lib folder for the new project (under \MRTC\workspace\$LAB, where $LAB is the name entered in step 2)
- Copy the Source and WebContent folders from \MRTC\lab\$LAB to \MRTC\workspace\$LAB
- Return to Eclipse, select the new lab, and select File/Refresh
- Select File/New/JUnit Testcase
- (Add the JUnit JAR) In the dialog, select the link that offers to install JUnit 3 (third pane in window), select OK to install JUnit 3, and then cancel to end the JUnit Test Case dialog
- Select Project/Clean
- (Enable support for JSP TLDs) If there is a red-check next to the WebContent/pages/*.jsp files, select Hello.jsp, and then select File/Rename. Rename the file to Hello1.jsp, and then rename it back.
The training materials ("handouts") can be viewed online. A PDF bundle may also be downloaded
.
