Applet的V / S的Servlet [英] Applet v/s Servlet

查看:115
本文介绍了Applet的V / S的Servlet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么在的Java Applet和Servlet之间的区别

Whats the difference between Applet and Servlet in JAVA

推荐答案

小程序在客户端上运行时,Servlet中的服务器上运行。就这么简单。

Applet runs on the client, servlet runs on the server. It's as simple as that.

更具体地,该小程序被下载到客户端,并在浏览器内的JRE执行,并且可以显示任何它要小程序框架内显示。该servlet,而不是在服务器上运行和(通常情况下)产生被显示在浏览器HTML页面。

More specifically, that applet is downloaded to the client, and executes in a JRE inside the browser, and can display whatever it wants to display within the applet frame. The servlet instead runs on the server and (generally) produces a HTML page which is displayed in your browser.

这篇关于Applet的V / S的Servlet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆