Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Script to java

 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes...the same
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15485
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic