To install Java, configure the environment variable to add a Java path in path (.. /javahome/bin);
Install tomcat, configure environment variables;
Configure the server in eclipse while adding libraries to the project;
Download the latest version of Eclipse from the Eclipse website, then unzip it and don't need to install it.
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src=" http://d.hiphotos.baidu.com/exp/w=500/ Sign=ba05fe28a044ad342ebf8787e0a30c08/b58f8c5494eef01f110f4400e1fe9925bd317ddf.jpg "style=" border:0px; "/>
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src=" http://e.hiphotos.baidu.com/exp/w=500/ Sign=d872fd1bf11f3a295ac8d5cea924bce3/c8177f3e6709c93d24e952329e3df8dcd00054df.jpg "style=" border:0px; "/>
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src=" http://e.hiphotos.baidu.com/exp/w=500/ Sign=4fd695f69345d688a302b2a494c37dab/faedab64034f78f07b1dc63678310a55b2191ce4.jpg "style=" border:0px; "/>
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src=" http://c.hiphotos.baidu.com/exp/w=500/ Sign=ba07f1d0bd315c6043956befbdb3cbe6/3ac79f3df8dcd100e058a5e4738b4710b8122f2a.jpg "style=" border:0px; "/>
run the Eclipse program files, Open the Eclipse work interface.
Select Window--preferences in the menu bar.
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src="/http:/ g.hiphotos.baidu.com/exp/w=500/sign=15043240c8ea15ce41eee00986013a25/ 203fb80e7bec54e720ee46dbb8389b504ec26af0.jpg "style=" border:0px; "/>
server--on the left Runtime environment--Select add--in the pop-up window and choose your Tomcat version.
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src="/http:/ d.hiphotos.baidu.com/exp/w=500/sign=ba1cfe28a044ad342ebf8787e0a30c08/ B58f8c5494eef01f11164400e1fe9925bd317df0.jpg "style=" border:0px; "/>
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src="/http:/ h.hiphotos.baidu.com/exp/w=500/sign=d681bedf6159252da3171d04049a032c/ Adaf2edda3cc7cd98268681c3801213fb90e91a9.jpg "style=" border:0px; "/>
Select the path to Tomcat, and the Java version to complete the configuration work.
650) this.width=650; "class=" Exp-image-default "alt=" Tomcat Installation and Configuration Tutorial "src=" http://h.hiphotos.baidu.com/exp/w=500/ Sign=d229940fae51f3dec3b2b964a4eff0ec/314e251f95cad1c8e8b9a0e27e3e6709c83d51f0.jpg "style=" border:0px; "/>
Finally, right-click the project Select Build path, add the library, and create a new index.jsp.
This article is from the "11687581" blog, please be sure to keep this source http://11697581.blog.51cto.com/11687581/1787540
The first Java EE program