Two Laptop Bag*
The moose likes JSF and the fly likes Call a Java method from javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Call a Java method from javascript" Watch "Call a Java method from javascript" New topic
Author

Call a Java method from javascript

Cesar Huasupoma
Greenhorn

Joined: Nov 12, 2012
Posts: 8
Hi I'm new using javascript and when I was searching i saw that i can do it directly so.. i thought maybe if i simulate a click i can access a method in java every minute. Until now i got this xhtml:



and this javascript:



but with all this it didn't seem to work. Did I miss something or i did something wrong?

PS: i work with IceFaces
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call a Java method from javascript
 
Similar Threads
struts 2.0
Invoking functions in Javascript
How to disable ALT+F, ALT+E
Object Expected Error
Resizable table columns