Summary of JSP website development I, jsp website development I

Source: Internet
Author: User

Summary of JSP website development I, jsp website development I

After studying JAVASE, I believe that everyone is no longer familiar with JAVA. What can JAVA do? You can develop algorithms, applications, and websites. Starting today, we will provide you with a summary of JSP dynamic website development in JAVAEE.

What is the difference between dynamic website development and traditional static websites? Where is the dynamic two fonts now? What is a dynamic website? I believe that our friends who have learned HTML know that HTML is a very powerful website development language. Before dynamic website development languages appear, it is regarded as a powerful tool for website development, however, there is a problem with HTML website development, that is, the website cannot be updated in real time. Once the website is developed, the content on the website will not change no matter how long it takes, this is indeed a very distressing problem. If there is a problem, there will be progress, and various dynamic development technologies will be constantly designed. Among them, there is the JSP that we will learn today. The difference between dynamic website development and static website development is that dynamic websites can interact with databases to update website content in real time, thus reversing the disadvantages that static websites cannot be updated in real time. After talking about this, I don't know if you have understood it, but it's okay. Let's go into the dynamic website development world and feel the convenience it provides for our website development.

Different from JAVA programming, JSP development requires the use of MyEclipse development tools. You can search for the relevant installation steps on the Internet and the online bloggers have summarized them in detail, I will not go into details here. If you have any questions about the installation, you can leave a message to discuss it. Now I think you have installed the software. Let's officially enter the JSP development world.

Let's start with the most basic HelloWord! Let's get started.

1. Open MyEclipse and select the project storage location to go to the main application interface:

  

2. Create a project:

Right-click the pack work area in the upper-left corner of the main interface, select Web Project, enter the Project Name in the pop-up form Project Name, and click finish. The system will automatically generate a Project for us.

  

                

  

3. Click index. jsp in the generated project to enter the editing mode:

  

4. Project Deployment Simulation:

Here, we need to ensure that Tomcat and Tomcat have been installed on our computer. I have provided a detailed introduction in a previous blog and will not go into details here, blog address: Workshop. First, we need to click the Window in the menu bar, select the lower-end preferences, select Tomcat under the server under myeclipse in the pop-up form, and finally select the Tomcat version based on your installed version, finally, import the Tomcat address. Note that you can change the single-choice button above.

  

5. Start the project:

After installing Tomcat, we can start our project, move the mouse to our project, right-click it, and select the corresponding items under "Run As" to go To the Tomcat startup page, select the version you installed and click OK.

  

  

6. test:

With the above operations, we can access our project in a browser. First, enter http: // localhost: 8080/in the address bar of the browser. If the following webpage appears, it indicates that our server has been started.

To ensure normal service startup, enter http: // localhost: 8080/HelloWord/or http: // localhost: 8080/HelloWord/index. jsp in the address bar.

  

At this point, our first JSP project has achieved great success. Of course, these are the most basic parts. In the next week, I will continue to provide you with more valuable information about JSP website development, please look forward to it!

 

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.