This paper introduces a method that can quickly enter the development of Java EE Project

Source: Internet
Author: User
Keywords Java EE website
Tags abstract asp based click compared compared to the course default

Abstract: Now mainstream web site development can be divided into PHP, JSP, ASP. NET three kinds, of course, and ASP, and from the site's scalability and performance, JSP and PHP compared to the former has some advantages. Many people want to develop their own set of Web projects based on Java EE,

Now mainstream web site development can be divided into PHP, JSP, ASP. NET three kinds, of course, and ASP, and from the site's scalability and performance, JSP and PHP compared to the former has some advantages. Many people want to develop their own set of Java-based Web projects, tend to look at the Web applications are unfathomable or a great technical barriers to the feeling, and then encounter a variety of development tools, development technology problems, When you have not fully figured out its technical route, you chose to give up the Java based Web site development. Here to introduce a can quickly enter the Java project development of the holiday, combined with enterprise-level work platform myeclipse This development tool, let the Java EE website interested friends quickly get started, the first step to write Java code.

Step 1th: Install the MyEclipse tool. When you install, select the default option. Start the software after installation, as shown in the following illustration.

Step 2nd: Configure the Apache Tomcat server. You can configure the Tomcat server directly in MyEclipse. In the MyEclipse tool, click the Window-preferences command, in the Preferences dialog box that pops up, open the tree node to the left in turn, locate the Tomcat node, and then select the appropriate version. Before using more Tomcat 6 as an example, the setup process is shown in the following illustration.

Once integrated, you can manage the Tomcat server directly by clicking the Run (Start) or stop button in the MyEclipse program's sidebar.

3rd Step: Create a new Web project. In the MyEclipse tool, when you click the File-new-web Project command, the MyEclipse program pops up the New Web Project dialog box. In the dialog box, set the parameters according to the prompts. Enter the project name, such as "webtest", and the default Webroot item in the Web root folder text box; Location represents the working directory of a Web project, typically with the default working directory in the project, and the default value in the context root URL text box. Finally, click the Finish button in the dialog box to create the Web project automatically, as shown in the following illustration.

As you can see, the MyEclipse tool automatically creates a blank jsp paging file and automatically creates a basic directory structure as well as web.xml configuration files.

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.