!!! 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: Native gem roundup!
    ... (I'm not too familiar with Java GUI frameworks)... ... Monkeybars app - http://monkeybars.rubyforge.org/) by default on Macs ... Java) or JotBot (http://getjotbot.com/ - JRuby with Monkeybars) ... I brought up RubyCocoa not because I thought it would be ...
    (comp.lang.ruby)
  • 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)
  • 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)
  • 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)