JSP from simple to deep (1) — familiar with JSP server

Time:2022-6-4

Familiar with JSP server

This “JSP from simple to deep” series of tutorials is for intermediate and advanced users. It requires the foundation of HTML and Java. You should be able to link HTML pages together and use Java for programming. If you don’t have this foundation, I suggest you lay it first. This series of tutorials will teach you JSP by compiling simple examples to complex examples. This series of tutorials is explained in a step-by-step way, that is, from shallow to deep. In order to make you get the most progress, it is recommended that you debug all the examples yourself in the process of relearning. The initial example may be very simple, so you should be very patient at the beginning. Don’t think it is too simple and skip. If you debug the examples carefully, you will quickly become familiar with the essential methods of JSP.

OK, let’s start our first tutorial: getting familiar with JSP server.

If you don’t have a JSP Web server, download it before you start the tutorial. The following servers can be downloaded or developed for free:

Blazix (1.5 Megabytes, JSP, Servlets and EJBs)
From www.blazix com/blazix. html

ServletExec (3.8 Megabytes, JSP and Servlets)
From www.unifyeware com/servletExec/

JRun (11 Megabytes, JSP, Servlets and EJBs)
From www.jrun com/

WebLogic(44 Megabytes, JSP, Servlets and EJBs)
From www.beasys com/

WebSphere (105 Megabytes, JSP, Servlets and EJBs)
From www-4 ibm. com/sofeware/webservers/

If you don’t have a server yet, I recommend that you download blazix, because it contains the tag library (which can be used in future tutorials on tag libraries). Blazix is also small and easy to download and can run on all operating systems, including the mainstream Windows98. Another advantage is that the installation speed is faster.

In order to really learn jsp, the most important thing is that you should debug the tutorial example on a real server. The best way is to learn jsp skills through your own practice. If you don’t have a server yet, download one and install it first.

After installing the web server, you should learn the following knowledge about the web server: where should I place files? How do I access a file from my browser that starts with http: instead of file:?

You should first create the following simple files, such as:

<HTML>

<BODY>

Hello, world

</BODY>

</HTML>

How to place a file and browse it in the browser (http://) is different for different web servers, so you need to refer to the documentation of the web server and find out the answer.

Recommended Today

Source code compilation and installation of greatsql/mysql under Linux

Welcome to the MySQL technical articles shared by the greatsql community. If you have any questions or want to learn, you can leave a message in the comment area below, and you will answer it after you see it The original content of greatsql community cannot be used without authorization. Please contact the editor and […]