473,669 Members | 2,385 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

calling Javascript from java, using JSObject

Hi,

My apology this is bit off topic; could not find a list for JSObject.

I would like to call javascript function - window.screen.w idth - from
servlet, using JSObject. Can any one give me some hints?

Damar

Jul 17 '05 #1
0 2586

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1680
by: Roberto Gallo | last post by:
Hi everyone; * How can I actively call a Javascript function from inside a Applet? * What would be a good messaging system among some Applets inside the same page? Thank you very much. Roberto.
2
1883
by: SPG | last post by:
Hi, I have a requirement to call a method on a page from an applet that is not the page that owns the applet.. For example. Page A has the applet. It opens page B.
1
1835
by: SPG | last post by:
Hi, We have an applet that has to support the SUN VMs as well as the MS VM. The applet receives updates from a server (via tcp or http) and wraps them up as objects and passes them using the JSObject scripting context to a javascript function. This function takes the object and reads the properties and updates a screen.
1
2057
by: Roberto Gallo | last post by:
Hi, I have an applet running inside an html document and I need to read and to set some of html form's textfield and textarea input from my applet. How can I do that? Do I need a javascript? Thank you, Roberto Gallo
1
2441
by: Trueman | last post by:
Hi all, I've been invoking a javasript method from an applet using the netscape.javascript.JSObject class. All was working fine till I upgraded my JRE from 1.4.0 to 1.5 Now the method JSobject.getWindow(this) is returning an exception: netscape.javascript.JSException
3
13921
by: Jakub Gutkowski | last post by:
Hi, How can I call JavaScript from C#? I've create a Window User Control, that I put on ASP.NET site as Object tag. Now, while some function from my control is being proceed I need to call a JavaScript function that is on the site (same as my control). Best Regards,
1
4770
by: rengaraj | last post by:
I have the following try/catch block: try { netscape.javascript.JSObject.getWindow(this.applet).eval("ClkExcept(" + nId.toString() + ")"); }catch(netscape.javascript.JSException e){}
1
5915
by: Daniel Pitts | last post by:
I only need to support Firefox 3 at the moment, so any advice can be specific to that. I have a Java Applet, lets call it HelperApplet. It has one method of importance: public Object doHelp(JSObject callback) { System.out.println(callback + "\n" + callback.getMember("foo")); callback.call("helped", new Object {callback.getMember("foo")}); return callback;
0
8465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8383
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8894
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2029
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1787
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.