wood burning stoves 2.0*
The moose likes Java in General and the fly likes Java Script to java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Script to java" Watch "Java Script to java" New topic
Author

Java Script to java

Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 157
Hai All,

I need a help....Is it poassible to pass value from javascript to java.If then, can anyone say me how to do it?


Thanks.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Neeba Rebbaca wrote:Is it poassible to pass value from javascript to java.If then, can anyone say me how to do it?

NO, JS and Java are different things worked and executed by two different environment, former by browser and later by JVM.
BTW, what exactly you want to achieve?


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Neeba Rebbaca wrote:I need a help....Is it poassible to pass value from javascript to java.If then, can anyone say me how to do it

A little information about your environment might help. otherwise, we're just guessing!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 157
i need to get some values from html.I can be done only through js.i need that value in java to launch an applet.


Thank you
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Neeba Rebbaca wrote:.i need that value in java to launch an applet.

Do you want to pass HTML parameters to a Java Applet ?
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 157
yes...the same
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

Have a look at Sun's Java Applets tutorial. The page Defining and Using Applet Parameters explains how you can specify parameters for an applet in a HTML page.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Script to java