The basic summary of JSP Web site development "one"

Source: Internet
Author: User

After Javase's study believes that everyone is no longer unfamiliar with Java, so what can Java do? Do algorithms, applications, web site development can, starting today for everyone to serve Java EE JSP Dynamic Web Development Foundation summary.

Since it is a dynamic website development, what is the difference between it and the traditional static website? Where does the dynamic two words show up? What is a dynamic website? I believe that the small partners have learned HTML, HTML is a very powerful web development language, in the absence of dynamic web development language, it was regarded as a tool for web development, but for the development of HTML Web site There is a problem, is the site can not be updated in real-time, once the development of the site, regardless of how long it takes, The content on the site will not change, this is really a very distressing problem, there will be progress, and then a variety of dynamic development technology is constantly being designed, which there is today we have to learn the JSP. The difference between dynamic website development and static website development is that dynamic websites can update the content of the website in real time by interacting with the database, thus reversing the disadvantage that static website can't be updated in real time. Said so much, do not know whether everyone has understood, but this is all right, let us first into the dynamic web development of the world, to feel it to our development site to provide the convenience.

and Java programming, JSP development, we need to use myeclipse development tools, we can search the Internet, the relevant installation steps, online Bo friends summed up already very detailed, here will not repeat, about the installation of that point, if any Bo friends have doubts can be message discussion. Below I think everyone has installed the software, let us formally into the world of JSP development.

Let's start with the most basic helloword!.

1, open our MyEclipse, choose our project storage location, we can enter into our application main interface:

  

2. New project:

At the top left of the main interface, right-click on the Pack workspace, select Web Project, in the popup form project name, enter the project names, then click Finish, and the system will automatically generate a project for us.

  

                

  

3. Click Index.jsp in the generated project to enter edit mode:

  

4. Project Deployment Simulation:

Here we need to ensure that our computer has been installed Tomcat,tomcat installation method, I in a previous blog has been detailed introduction, here will not repeat, blog address: http://www.cnblogs.com/AndroidJotting/ P/4333022.html, let's talk about how to associate MyEclipse with Tomcat. First we need to click on the menu bar window, at the bottom of the selection preferences, in the pop-up form select MyEclipse under the server Tomcat, finally based on the version of the Tomcat you installed, and finally import the Tomcat address, Note that you change the radio button above.

  

5. Project Start-up:

Install Tomcat below we can start our project, move the mouse to our project right-click, select the 3 corresponding item under Run as, go to the Tomcat launch page, select the version you installed and click OK.

  

  

6. Test:

With the above, we can access our project on the browser. First we enter http://localhost:8080/in the browser address bar, if the following page appears to indicate that our server has been started.

In the event that the service starts normally, we enter http://localhost:8080/HelloWord/or http://localhost:8080/HelloWord/index.jsp in the address bar

  

At this point our first JSP project to this merit Gaocheng, of course, these are the most basic part, in the following week I will continue to serve as a JSP website development of more dry, please look forward to!

The basic summary of JSP Web site development "one"

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.