Jsp&JavaScript &jQuery &Ajax&Json

jsp to display the page

javaScript for browser dynamic scripting language, you can achieve some of the advanced features on the page, the page is rendered, implement some logic - data verification process, the page dynamic effects, regular tasks, interaction with the user, sending / receiving server data,,,

Js JQuery lightweight tools on js is encapsulated, Query Ajax provides a series of functions, so that more convenient js and ajax

Js and other Ajax based asynchronous communication technology, partial page update (clients and servers to exchange data locally, rather than refreshing the entire page), commonly used in the front and back office data exchange, improving the speed of data update.

Json is js built a data format (smaller than xml body mass, faster and easier to parse and cross-platform), and ajax with data transmission more convenient and simple

Reflect on the call JSON data generated in the background using Ajax form in jQuery, and JavaScript are their foundation, jQuery is a tool to achieve them.


jsp


What is JSP:

Java Server Page, referred to jsp. As the name suggests, is a Java server pages, is a dynamic J2EE technologies, dynamic grammar section is completely Java specification.

Java Servlet JSP technology is the basis, the biggest drawback is that there is no Java Servlet to separate logic and output pages of the site, resulting in the Servlet code is very confusing. JSP Java Servlet solve such a drawback as a text-based, in order to center the development of technology, JSP provides all the benefits of Java Servlet, and, in conjunction with JavaBeans classes together, and can display the contents of the logic separate. Front and back end developers to achieve this separation, you can use JSP pages with JavaBeans classes to define Web templates to build a website with a similar appearance by the page composition. JavaBeans class to complete the data provided, so that the template is no Java code. When choosing a Java Servlet, or a JSP page, Java Servlet is a programming tool that does not require frequent modification applies to low-level application functionality; while the JSP page is to display-centric approach descriptive dynamic content through and logic together.

Java and JSP is running on the server side, it can be said that the results They run to generate html, html static pages, dynamic pages and jsp, jsp actually servlet.


JavaScript


avaScript, referred js. As the name suggests, it is a Java script, the script language to run in the browser. Most of its syntax specification taken from the Java syntax specification, so named for JavaScript.

JavaScript is an interpreted, dynamic, based on weakly typed scripting language objects, mainly running in a browser, the built-in support type, interpreted by the browser execution can be easily embedded in HTML documents, rendering the page, to implement some logic function together with the HTML elements in a web page. Javascript .js file generally based on some of the functions \ html element method for library services for the syntax to write. It can be used to implement advanced features on the page, such as the data authentication processing, page dynamic effects, regular tasks, interacting with a user, transmitting / receiving server data or the like. The main technique used to create web pages foreground is the core now more popular Ajax technology.

component

ECMAScript DOM BOM

Feature

Unfinished .....

Guess you like

Origin www.cnblogs.com/ppvir/p/11324693.html