how to give action class in forms?

In HTML,we have an option for action class in form which will redirect to struts or Servlet etc. Like, i want read form fields
how can we do this?
please help me on this.


  • Webix form is more oriented on ajax data saving. Something like

    webix.ajax().post("/some/servlet", $$("form").getValues());

    Which will send data to servlet by ajax. But it possible to recreate a standard behavior as well

    webix.send("/some/servlet", $$("form").getValues());

    It will redirect current page to the target servlet. As there is no "action" attribute, you can use click handler of submit button to trigger the above code.

  • Thank you for wrote the Answer

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!