1. Javascript
Javascript is a new description language that can be written into HTML files. Javascript can be used to respond to user request events (such as form input) without any network to transmit data back and forth. Therefore, when a user inputs a data item, it can be directly processed by client applications without being transferred to the server for processing. You can also think of an executable program running on your client! You can connect to some programs written on the Internet. Here are some examples of calculators in nescape. JavaScript and Java are very similar, but they are not the same! Java is a program language that is much more complex than JavaScript, while Javascript is quite easy to understand. Javascript creators can focus less on program skills, so many Java features are not supported in Java Script.
2, JSP
JSP (Java Server Pages) is a dynamic web page technical standard proposed by Sun Microsystems and jointly established by many companies. JSP technology uses Java as the scripting language. JSP web pages provide an interface for the Java Library Unit on the server to serve HTTP applications. In the traditional web page HTML file (*. htm ,*. java program snippets (scriptlet) and JSP tags are added to HTML to form a JSP webpage (*. JSP ). When the Web server encounters a request to access the JSP webpage, it first executes the program fragment and then returns the execution result to the customer in HTML format. Program snippets can operate databases, redirect webpages, and send emails. This is the function required to build a dynamic website. All program operations are performed on the server, and the results are only obtained after the network is uploaded to the client. The client has the lowest requirements on the client browser and can implement no plugin, no ActiveX, and no Java applet, no frame.
Advantages of JSP:
· Updates to the user interface are actually performed by the Web server, so it gives people the feeling that the updates are fast.
· All applications are server-based, so they can always be updated to the latest version.