Step 1: Install the JDK and Tomcat


In addition to all sample applications and third-party tools used in the book, the CD-ROM also contains a copy of Sun's Java 2 Platform, Standard Edition, v 1.4.1 (also known as J2SE 1.4.1). You should note, however, that while Struts and Tomcat have been pretty well debugged for J2SE 1.4.1, we can't ensure that all the other applications provided on the CD-ROM have. In particular, JBoss 3.0.3 had a few documented issues with it. To be safe, all the sample code and third-party applications have been tested and work with Sun's J2SE v1.3.1.

The first step to getting the application running is to install the Java development environment (if needed) and the Tomcat application server. Follow the installation instructions included with the release that's appropriate for your operating system. You can find the JDK installers for Windows and Linux in the \apps\J2SE directory on the CD.

After the JDK is installed (including setting environment variables such as JAVA_HOME and placing the bin directory in your path ), install Tomcat using the Tomcat installer appropriate for your operating system. When Tomcat's installed, make sure that you can connect to the server (which by default will be at http://localhost:8080/ ).

The Tomcat installers can be found on the CD-ROM in the \apps\tomcat directory.



Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net