01 - Tomcat and Eclipse

01 - Tomcat and Eclipse - CSE 135 Discussion Section #1...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CSE 135 Discussion Section #1 Tomcat and Eclipse Outline Basic information Office hour Set up Tomcat and deploy applications – Manually into Tomcat – Automatically via Eclipse Web Tools Platform (WTP) 5
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Install Apache Tomcat 6.0 Get JDK Set JAVA_HOME environment variable Get Tomcat 6.0 http://tomcat.apache.org/download-60.cgi Install and run Set CATALINA_HOME environment variable 6 Test http://localhost:8080/ Test http://localhost:8080/examples/jsp/dates/date.j sp Deploy manually into Tomcat Put apps in <CATALINA_HOME>/webapps/ Place MyMultiplier.java in multiplier/src Compile MyMultiplier.java – Include in CLASSPATH environment variable <CATALINA_HOME>/lib/servlet-api.jar Place MyMultiplier.class in multiplier/WEB-INF/classes Example: 7 javac -cp "C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar" -d . ./WEB- INF/classes MyMultiplier.java
Background image of page 2
3 Outline Basic information Office hour
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

01 - Tomcat and Eclipse - CSE 135 Discussion Section #1...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online