Are you using AJAX with Java? If so take a look at Direct Web Remoting, it allows you to write JavaBeans and expose them to your javascript as methods, then you can simply call the method you want. It also has a lot of other cool features. DWR. They also have online manuals on the site.
Use [code]your code here[/code] tags when you post source code
Search here before you post your question, someone might have already asked it before. My Articles
Bookmarks