Home > Java > javaTutorial > How to run jsp code

How to run jsp code

(*-*)浩
Release: 2019-06-05 18:02:35
Original
8151 people have browsed it

Operation Principle

How to run jsp code

##When the jsp page (code) is accessed for the first time, A request will be made to a servlet container (tomcat, etc.). The servlet container must first convert the jsp page (code) into servlet code (.java), then compile it into a .class file and then call it. When accessing the jsp page (code) again, skip the translation and compilation process and call it directly.

How to run jsp code

##web server {TOMCAT (JSP), WEBLOGIC (JSP) } application server

Web server transmission (serves ) page allows the browser to browse, but the application server provides methods that the client application can call. To be more precise, you can say: Web servers specialize in handling HTTP requests, but application servers serve business logic to applications through many protocols.

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template