• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

invoking a java class from java script

 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai all,
Is it possible to invoke a java class from a java script function.
ie when i click a button on the HTML page, it will call a javascipt function. with in this function is it possible to invoke a java class.
thanx,
sivaraman Lakshmanan
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34214
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HTML page can either call javascript (not java) or go back to the server to call a servlet/JSP. It cannot execute java on the HTML page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic