求翻译。。超急。。

来源:百度知道 编辑:UC知道 时间:2024/04/30 14:36:19
谢谢大家了。。超急。。不翻译就不能毕业。。急求大家啊。。。
HTML forms, discussed in Chapter 16, provide a simple but limited
way of collecting user input and transmitting it to a servlet or CGI
program. Occasionally, however, a more sophisticated user interface
is required. Applets give you more control over the size, color, and font of the
GUI controls; provide more built-in capability (sliders, line drawing, pop-up
windows, and the like); let you track mouse and keyboard events; support the
development of custom input forms (dials, thermometers, draggable icons,
and so forth); and let you send a single user submission to multiple
server-side programs. This extra capability comes at a cost, however, as it
tends to require much more effort to design an interface in the Java programming
language than it does using HTML forms, particularly if the interface
contains a lot of formatted text. So, the choice between HTML forms and
applets will depend upon

HTML表单,讨论在第16章,提供了一种简单而有限
方法收集用户输入和它转发给一个servlet或CGI模式
计划。偶尔,但是,更复杂的用户界面
需要。 applets的给你更多的控制权大小,颜色和字体的
桂管制;提供更多的内置式能力(游标,线描,弹出式
窗户等) ,让您跟踪鼠标和键盘事件;支持
开发定制输入表格(表盘,温度计,拖放图标,
等等) ,以及让你寄一个用户提交多
伺服器端程式。这一额外的能力,是在成本,但是,由于它
往往需要更多的心血,为我们设计了一个接口在Java编程
语言,而不是它是否使用HTML表格,特别是如果接口
含有大量的格式化文本。因此,在选择之间的HTML表单和
applets的将取决于申请。
与HTML表单, GET和POST请求处理的几乎一模一样
以同样的方式。所有投入要素上是一致的,只有方法
属性的表单元素需要改变。与applets的,但
有三种不同的办法。对于第一种方法,包括在第
17.1 , Applet的模仿A处为基础的HTML表单,以获得数据
转发以及由此产生的一页被展示出来的浏览器。第
17.2 (一多元搜索引擎前端)举了一个例子。在
第二个办法,包括在第17.3 , Applet的传送得到的数据,一
Servlet和当时的处理结果本身。第17.4 (一观众质疑
h
434第17章使用applets的,因为Servlet的前端

利用对象序列化和HTTP隧道)举了一个例子。在
第三种做法,包括在第17.6 , applet程序发送POST数据到一个
Servlet和当时的处理结果本身。第17.6 (一个Applet的表示,
发送POST数据)举了一个例子。最后,第17.7充当
提醒人们,一个Applet的,可以绕过HTTP服务器共谈
直接进入一个定制的服务器程序运行于Applet的家中的机器。
这一章假定你已经有了一些熟悉基本法
applets的,并着重于技巧,使他们能沟通
伺服器端程