473,796 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can JSObject be called "remotely" ?

Hi gurus and fellows.

I designed an pilot applet with can be seen at
http://push.integration.euronext.com...index_raw2.htm

This applet has no GUI in fact. It receive financial data (which are
being pushed) and then update DOM element in the browser thanks to the
"JSObject" library.
Let's consider it acts as a "proxy" then.

As is, it works under IE/Mozilla-like Browsers and both Microsoft JVM
and Sun JVM.

However this applet should be called from our corporate website
(different domain name from the Url quoted above).
Therefore I need to change the Applet's codebase from a relative one
to an absolute one.
That is :
/Resources/ --> http://push.integration.euronext.com/Applet/Resources/
Same should apply to the "javascript include", of course (unless you
save it locally too):
/js/common.js --> http://push.integration.euronext.com...t/js/common.js

It still work well under IE (Please save the file locally with the
changes I mentioned earlier and you will see).

However under Mozilla, the Javascript part is not triggered anymore by
the applet.

Is this a known bug limitation ?
Do you know any workaround ?
Any help and tip much appreciated.
Best regards.

--
Olivier
Jul 23 '05 #1
2 1264
VK
Java <> JavaScript interaction is kind of "love me - love me not" game.
From version to version (JVMs and browsers) it gets restricted, released,
restricted, released, and you may never guess what is going to be
restricted/released next time.

After "merry go around" for couple of years I personally got dizzy of it and
I'm using Absolutely Terribly Wrong way to interact, which always works
though:

URL jsCall = new URL('javascript :void(myFunctio n(myParams))');
showDocument(js Call);


Jul 23 '05 #2


Olivier aka Cypher wrote:

However under Mozilla, the Javascript part is not triggered anymore by
the applet.

Is this a known bug limitation ?


I would rather think it is a security restriction. Have you checked the
Mozilla JavaScript console, does it show any errors or warnings? Have
you checked the Sun Java Plugin console, does it show any errors or
warnings?

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #3

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

Similar topics

23
5687
by: ian justice | last post by:
Before i post actual code, as i need a speedyish reply. Can i first ask if anyone knows off the top of their head, if there is a likely obvious cause to the following problem. For the moment i've reduced my form request to a simple text string entry, instead of my desired optional parameters. As i have been stuck with a single unfathomable glitch for over a year. Basically, if i enter queries such as ; "select * from table" "select * from...
3
8593
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it, might as well move to PHP (for a variety of reasons - not trying to reopen the PHP -vs- CFM thing again :). Anyway, so I'm looking at this system, and there are no "scheduled tasks" (it's win2kas). How do you write a server app that needs to...
8
1544
by: Bennett Haselton | last post by:
If I create a new C# Web Project in Visual Studio and add this to the Page_Load method for WebForm1: Response.Write("firsttime"); then hitting F5 to debug the project of course shows the WebForm with "firsttime" on the page. But if I then change it to Response.Write("secondtime") and hit F5, the changes don't take effect -- the WebForm still opens and displays
0
1020
by: Beren | last post by:
Hello This might not be the right group for this topic, but I figure that alot of you will be able to help me out. I have IIS 5.1 running on an xp pro machine on my local network. My goal is to be able to access the projects on that server as a "VS Developer". I can see that the user group VS Developer on the server machine is having access rights to the wwwroot and all that, but how can I allow
3
3948
by: Pierre | last post by:
Hello, In an aspx page (mypage.aspx) from a web projet, I would like to get the value of a variable of the projet that is declared as public in a module. The variable can be called from anywhere in the code behind page and in the class files, but when I try to call it from an aspx page, it raises an error. <%=myvar%> in mypage.aspx raise an error : the name "myvar" is not declared.
93
4015
by: jacob navia | last post by:
In this group there is a bunch of people that call themselves 'regulars' that insist in something called "portability". Portability for them means the least common denominator. Write your code so that it will compile in all old and broken compilers, preferably in such a fashion that it can be moved with no effort from the embedded system in the coffe machine to the 64 bit processor in your desktop.
3
19793
by: Lord0 | last post by:
Hi there, First of all I apologise for being a PHP noob. Is there a PHP equivalent of Java's Jasper Reports? http://jasperforge.org/sf/projects/jasperreports Basically Jasper is a bunch of libraries which allow you to create reports, in various formats:
206
8377
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a footprint which says: "Indeed, one often hears arguments against building exibility into an engineered sys- tem. For example, in the philosophy of the computer language Python it is claimed: \There should be one|and preferably only one|obvious...
12
2381
by: Jonathan Wood | last post by:
Greetings, I wonder if anyone can help me with this. I have an XP laptop, and a Vista desktop computer. I use the laptop to run software remotely on the desktop using the Remote Desktop Connection software. Everything is working just fine. However, whenever I run an ASP.NET Website project in Visual Studio, the browser pops up a "Connect to localhost"
0
9531
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
10459
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...
1
10187
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6795
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
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.