Home  >  Article  >  Web Front-end  >  What is the difference between jsp and javascript

What is the difference between jsp and javascript

云罗郡主
云罗郡主Original
2018-11-27 13:41:4833690browse

The difference between jsp and javascript: 1. JavaScript generally runs in the foreground and requires the browser to support js, while JSP is on the background server and is mainly used to control html; 2. The performance of jsp and javascript The forms are different.

What is the difference between jsp and javascript

The operating environment of this article: Windows 7 system, Dell G3 computer, javascript version 1.8.5.

Many people confuse jsp and javascript, thinking that jsp and javascript are the same thing. In fact, there is a big difference between jsp and javascript. Let’s talk about the difference between jsp and javascript?

What is jsp?

jsp is a Servlet design. The Chinese name is java server page. Java is performed on the server. Generally, the return value is an html, so it depends on the browser to preview.

What is javascript?

Javascript is a kind of script. We often see javascript in html. JavaScript can be used to add dynamic effects to html.

What is the difference between jsp and javascript?

The difference between jsp and javascript is first of all the difference in location. javascript generally runs in the foreground and requires the browser to support js, while JSP is on the background server and is mainly used to control html and also The difference is that jsp appears in the form of <%%> in HTML, while js is implemented in HTML as .

Compared with JSP, under normal circumstances, JSP generates HTML on the client, but it is not easy to interact with the server, let alone provide complex services.

The above is a complete introduction to the difference between jsp and javascript. If you want to know more about JavaScript tutorial, please pay attention to php Chinese website.

The above is the detailed content of What is the difference between jsp and javascript. 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