 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bubba Gump Guest
|
Posted: Tue Nov 25, 2003 9:45 pm Post subject: !!! Help! Can Java pass variables to JavaScript? |
|
|
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 -*-
|
|
| Back to top |
|
 |
Alex Hunsley Guest
|
Posted: Wed Nov 26, 2003 1:38 pm Post subject: Re: !!! Help! Can Java pass variables to JavaScript? |
|
|
Bubba Gump wrote:
| Quote: | 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 -*-
|
Open a browser. Go to www.google.com. Search for "integrating java
javascript". Presto!
|
|
| Back to top |
|
 |
Alex Hunsley Guest
|
Posted: Wed Nov 26, 2003 2:20 pm Post subject: Re: !!! Help! Can Java pass variables to JavaScript? |
|
|
Bubba Gump wrote:
| Quote: | I have a project I must complete. A simple app that would be MUCH easier to do
[snip] |
Btw, try to avoid things like !!!help! in the subject line. It will put
people off rather than making them help you quicker. We already know you
want help, that's why you're posting in comp.lang.java.help.
Just put a description of the problem in the subject line.
Hmm, is there a comp.lang.java.hell somewhere? I feel this group needs
to exist as I just mistyped this groups name as that!
alex
|
|
| Back to top |
|
 |
Don Freeman Guest
|
Posted: Wed Nov 26, 2003 6:04 pm Post subject: Re: !!! Help! Can Java pass variables to JavaScript? |
|
|
"Alex Hunsley" <lard (AT) tardis (DOT) ed.ac.molar.uk> wrote
| Quote: |
Hmm, is there a comp.lang.java.hell somewhere?
|
As a java neophyte, I'm starting to think that it is implied.
|
|
| Back to top |
|
 |
Chris Smith Guest
|
Posted: Wed Nov 26, 2003 8:59 pm Post subject: Re: !!! Help! Can Java pass variables to JavaScript? |
|
|
Alex Hunsley wrote:
| Quote: | Hmm, is there a comp.lang.java.hell somewhere? I feel this group needs
to exist as I just mistyped this groups name as that!
|
http://www.eyrie.org/~eagle/faqs/big-eight.html
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|