Home  >  Article  >  Java  >  How to run jsp code

How to run jsp code

(*-*)浩
(*-*)浩Original
2019-06-01 11:52:318112browse

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!

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