Home  >  Article  >  Java  >  How to learn jsp

How to learn jsp

(*-*)浩
(*-*)浩Original
2019-05-18 16:30:274124browse

How to learn jsp: 1. Build and understand Web Server; 2. Understand "HTML/XHTML"; 3. Start learning Java; 4. Learn JavaScript; 5. Learn and understand better Web Server Details; 6. Establish JSP Server and so on.

How to learn jsp

#Start learning JSP today. A common mistake is to treat JSP as simplified Java. It's not (in fact, JSP is simplified servlets.) Programmers often try to learn JSP directly without learning the required supporting skills. JSP is a bridging technology, and successfully connecting to other technologies you need to understand. If you already know Java, HTML and Javascript, this means that JSP will be simple indeed.

Please note the following:

*Ignore steps you are already familiar with.

*The training time only represents enough basic time to learn enough so that you can move to the next step.

1. Build and understand your Web Server.

Because Apache is free and works on most platforms, Apache is recommended for training purposes.

2. Make sure you understand HTML / XHTML.

You will need to understand the basics of HTML, especially the use of tables in HTML layout. XHTML will soon replace HTML, and it's a good idea to learn the basics of XHTML. Many programmers learn HTML through HTML IDE (Integrated Development Environment). Because most HTML IDEs produce confusing HTML syntax, it is necessary to take the time to learn to write HTML by hand. Since you will be programming using a mix of JSP and HTML, it is important to be proficient in HTML syntax. So, you must be able to write HTML fluently.

3. Start learning Java.

Start learning Java 1.3 It is important to understand the basics of Java. Don't worry about learning the graphics aspects of Swing or Java, since you won't be using these features in JSP. Concentrate on the details of working in Java, learn the logic of Java, and also spend time on Java Beans. Learning Applets is good, but just like Swing, most applications of JSP will not use applets.

4. Learn JavaScript

Learn how to use JavaScript to validate the input Form element in HTML. Also learn how JavaScript can modify Form elements within an HTML page. The final requirement is that you can trigger a JavaScript Function from an event within an HTML page.

5. Learn and understand the better details of your Web Server.

It is very important to be familiar with the characteristics of Web Server.

6. Build your JSP Server

I recommend starting with Tomcat. It can run JSP programs very well. When you can't use Tomcat in production, learn as much as you can to run your programs better. Additionally, many JSP programmers use Tomcat. So when you encounter a problem, you'll easily find help.

7. Start learning JSP.

Basic JSP learning can be completed through steps 1 to 6, and then use JSP objects and scripts to write JSP programs to communicate. Another aspect of learning JSP is learning how to create a distributed application.

8. Learn more JSP server.

No more information about JSP Server. Of course, JSP Server can also run jsp programs. However, many JSP servers have their own special features that allow you to better understand your JSP project. It is necessary to learn more about how Jsp server handles jsp programs. It is also possible to optimize your JSP application and make it run faster without any issues.

9. Learn JDBC.

JSP Most applications will use a database, and JDBC is used for database connections. An often overlooked fact is that what each JDBC Driver supports is quite different. It is important to understand and be familiar with the details of the JDBC driver used in jsp projects. (Sometimes this part of the study is included in the previous Java or JSP study.)

By now, you have become a skilled JSP programmer. There is still a lot to learn, you may consider expanding your knowledge with things like DHTML, XML, Java certificates, JSP Tag Libraries or Servlets, depending on what type of website you want to build.

These exercises are the core of JSP. You don't have to learn all of the above, depending on what tasks you are assigned in the project and what knowledge you already have. But this is my timeline for successfully training programmers. The key unit is time. On average, 5 months can indeed train a person (from start to finish) to become a programmer who is familiar with jsp. 5 months may seem like a long time, but there is much more to be learned than becoming a senior WEB programmer.

The above is the detailed content of How to learn jsp. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn