Using MYECLIPSE Development JSP environment configuration detailed

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.