File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
 
subject: Call a Java method from javascript