!!! Help! Can Java pass variables to JavaScript?

From: Bubba Gump (noone_at_nowhere.com)
Date: 11/25/03


Date: Tue, 25 Nov 2003 21:45:17 GMT

I have a project I must complete. A simple app that would be MUCH easier to do
in JavaScript than Java. Problem is, it requires allowing the user to save and
retrieve their work to/from their own PC... a definite impossiblity with JS.

It would be absolutely great if the only thing I needed to write in Java is a
program to Load/Save the users data to a file, and just write the rest of the
program in JS. If I could "load/fill" my JavaScript variables using a Java
app, I'd be thrilled.

Is this even possible? I believe 1.4 has a JSObject, but I'm a newbee when it
comes to Java I/O and have no clue how to use it.

  TIA -*- Bubba -*-



Relevant Pages

  • Re: POSSIBLE SECURITY PROBLEM in Java 5!
    ... still worked -- but the network activity dropped to zero and it ... Naturally, suspecting a bug, I exited and went to rerun the app, this ... Task Manager showed two Java tasks, ... and killing it should have released the sockets. ...
    (comp.lang.java.programmer)
  • Re: Java on the BSD Desktop?
    ... interactivity we must also put into disscusion Adobe Flash and Adobe Flex ... To my oppinion Java is more suitable for back end solutions. ... I would like to see a native FreeBSD Flash player. ... > First off, in my company we had a Java app (simple app, working with ...
    (freebsd-questions)
  • POSSIBLE SECURITY PROBLEM in Java 5!
    ... still worked -- but the network activity dropped to zero and it ... Naturally, suspecting a bug, I exited and went to rerun the app, this ... Task Manager showed two Java tasks, ... and killing it should have released the sockets. ...
    (comp.lang.java.programmer)
  • Re: My OPE & the Euclicidean TSP
    ... path algorithm pop up, prove that P=NP, and solve TSP through the use ... Any idea the effort involved to get an app ... been on major Java coding project from inception to product release as ... I like mentioning Class Viewer because it's great for perspective ...
    (comp.lang.java.programmer)
  • Re: Java applet or Flash?
    ... A web app I am considering writing would require an embeddedclient side app which would need to talk to a webservice to fetch / update data it presents. ... The embedded app would need to work in various browsers and on different OS's so I think a Java Applet or Flash would be a good choice, all it needs to do is to present diagrams and allow the user to modify them. ... Ajax requires no download, so you do not have to worry about the user needing the rights to install anything. ...
    (borland.public.delphi.non-technical)