Home  >  Article  >  Backend Development  >  Is php used in jsp?

Is php used in jsp?

藏色散人
藏色散人Original
2019-10-30 09:11:204022browse

Is php used in jsp?

#Is php used in jsp?

PHP is not used in jsp.

JSP (full name JavaServer Pages) is a dynamic web page technology standard created by Sun Microsystems. JSP is deployed on the web server and can respond to requests sent by the client and dynamically generate web pages of HTML, XML or other format documents based on the request content, and then return them to the requester. JSP technology uses Java language as a scripting language to provide services for users' HTTP requests, and can handle complex business requirements together with other Java programs on the server.

JSP embeds Java code and specific changes into static pages, using the static pages as templates to dynamically generate part of the content. JSP introduces XML tags called "JSP actions" to call built-in functions. Alternatively, you can create JSP tag libraries and then use them just like standard HTML or XML tags. Tag libraries enhance functionality and server performance without being limited by cross-platform issues. JSP files are converted into more primitive Servlet code by their compiler at runtime. The JSP compiler can compile the JSP file into a Servlet written in Java code, and then the Java compiler can compile it into binary machine code that can be executed quickly, or it can be directly compiled into binary code.

And PHP, the "hypertext preprocessor", is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development.

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of Is php used in 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
Previous article:How to click copy in phpNext article:How to click copy in php