有没有在Java 1.1中的另一种方式来处理小程序cookie比JSObject其他 [英] Is there another way in java 1.1 to handle cookies in Applets other than JSObject

查看:198
本文介绍了有没有在Java 1.1中的另一种方式来处理小程序cookie比JSObject其他的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

祝您2010的所有快乐和令人兴奋的一年。

wish you all a happy and exciting year of 2010.

有没有在Java 1.1中的另一种方式来处理小程序曲奇饼不是使用JSObject ...

Is there another way in java 1.1 to handle cookies in Applets other than using JSObject...

推荐答案

如何做在Javascript中的所有cookie处理,然后通过它调用某些方法具有的Javascript code沟通的相关数据,该Applet对象。

How about doing all the cookie handling in Javascript and then having the Javascript code communicate the relevant data to the Applet object by invoking certain methods on it.

注意,一个Applet重新在DOM是一个很好的老Javascript对象,你可以调用方法psented $ P $。它所提供的方法是相同的那些实施Applet的Java类定义

Note that an Applet is represented in the DOM as a good-old Javascript object which you can invoke methods on. The methods that it provides are the same as those defined by the Java class implementing the Applet.

这篇关于有没有在Java 1.1中的另一种方式来处理小程序cookie比JSObject其他的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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