Delayed for a long time, recently began to formally enter the JAVAWEB study.
First, it is to write the first HelloWorld with a myeclipse.
Here, you can use MyEclipse's own tomcat or use your own to download Tomcat.
1. Tomcat with its own
-Follow the steps to create a program not much to say.
-In the console column there is a server, you will see "MyEclipse Tomcat", then right-"run server,
-then you can use the MyEclipse embedded browser to access your own Web page index.jsp.
2, the use of their own download,
-Create a program
-window-"preference-" then search for Tomcat,
-Select your Tomcat version, select the root directory
-and select "Ennable"
-Start the service again from the console column.
3. Here is a record of the problems I have encountered:
-Start my Tomcat is 8.0, and myeclipse10 up to 7x, anyway I was unable to configure up, just under the tomcat7.x version, and then succeeded.
-but, at first I came down, because I took MyEclipse's tomcat to the disable, but whenever I started Tomcat, I always gave an error, always started first, then shut it down immediately.
-Started surfing the internet, said the problem of environmental variables, but I looked at the environment variables are not wrong,
-Later, from the Internet to find the correct reason: port occupancy, I opened myeclipse self-brought Tomcat, sure enough, although I disable, but still started.
About configuring Tomcat for the first time in MyEclipse