Bài đăng

Đang hiển thị bài đăng từ Tháng 9, 2015

J2EE: Installing Tomcat 7 and Using it with Eclipse

Tools: Eclipse Apache Tomcat 7 JDK 1.7 Youtube:  https://www.youtube.com/watch?v=kLgquZ2FiuQ Quick start: Install Java 7.   Download for Windows, MacOS, Linux, and Solaris from http://www.oracle.com/technetwork/java/javase/downloads/ .  Download and Unzip Tomcat 7.   http://tomcat.apache.org/ Install and start Eclipse.  Download from  http://www.eclipse.org/downloads/ . Choose "Eclipse IDE for Java EE Developers", download, and unzip. Tell Eclipse about Tomcat.  Click on Servers tab at bottom. R-click, New, Server, Apache, Tomcat v7.0, navigate to Tomcat 7 installation folder (e.g., C:\apache-tomcat-7.0.34), OK. If you don't see Servers tab, add the tab via Window, Show View, Servers. Run Tomcat.  Click on Servers tab at bottom. R-click on Tomcat v7.0, choose "Start". Open http://localhost:8080/ in a browser. Import and test a sample Web App.  Grab  test-app.zip , save it, and import it into Eclipse. Use File, Import, Ge...