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.