Copyright ©2008
Russell Bateman and
Etretat Logiciels, LLC

Permission is granted for any derivational use. You are forbidden only to repost the files of the tutorial and project without express permission of the author.

   

Tutorial: Using the Eclipse Web Tools Platform with Apache Tomcat
(excursus)

How to set up Eclipse to compile with external JARs (libraries)

This discussion is continued from here.

Right click on the project, wtp-tutorial, choose Build Path and Configure Build Path. You get a dialog box entitled, Java Build Path with tabs. The Order and Export tab here is already set up to include Apache Tomcat which contains the servlet-api.jar that you wiould otherwise have to include manually. To do this, click on the Libraries tab, then Add External JARs..., and browse down under the apache-tomcat-6.0.16/lib subdirectory to find it. This is common action when working with external resources.

Continue on with the rest of the tutorial by clicking on the back arrow or here.