How the JDK environment can be configured to find Tomcat online can also be downloaded to, no longer repeat the open MyEclipse
The following interface appears
Choose your own work space, I choose to be
C:\users\administrator\desktop[2016-03-07][blog]\workspace
Click OK to enter the following interface
Click Window->preferences
Enter the following settings interface
Click Add
Default following interface
Click Next and the following interface appears
Click Directory to select your own JDK location, my settings are as follows:
C:\Program files\java\jdk1.7.0 The following interface appears
Click Finish to select the JDK you just had, and then click OK
Open Window->preferences Again, this time choose Myeclipse->servers->tomcat
If you do not register MyEclipse, you will receive the same interface as the following image
A pair of registration codes are posted here:
Test
serial:glr8zc-855550-64585156941576657
Registered in Myeclipse->subscription information
18. Click Finish
Open Window->myeclipse->servers->tomcat->tomcat 6.x
Click Enable, then select Tomcat's directory, click OK
Open the Window->myeclipse->servers->tomcat->tomcat 6.x->jdk, select the JDK just now and do not use the built-in JDK
Click Start
Start successful
**
the environment is already configured.
**
Here is the development test:
1. Click File->new->web Project
2. The following interface appears
Click finish!
3. Expand the project, then right-click the Webroot folder and select New JSP file, as shown in the following figure
4.
5. Click to publish
6. Click Add
7. Select the following interface
8. Return to the original interface click OK
9. Open the browser to view your own page
10. Testing the information just now
Note that the project name is a subdirectory under Tomcat's WebApps, so access should use the
: Port/Project name/specific. jsp file
The above only individual attempt, may somewhere has the mistake, welcome everybody to correct, common progress.