Hi I have form that takes user inputs, I want to invoke a java method of a Class that resides in the client side on click.
The relevent code of the JSP is as follows
<%@ page
import="clent.televisionshopclient.TelevisionShopClient"%> //This is the Java class for client
<%TelevisionShopClient client = new TelevisionShopClient(serverURL);%>
This is what I want to achieve
<input type="submit" value="Submit Stock" onclick="<%client.setStock();%>">
How can I do this?? Thanks in Advance.