Sending A Form To A Servlet

With an application developed in JBStrap, you don't need to use servlets. All form data is available in real-time on the server side. However, you might need to send some data to a servlet if an application form is not processed by the application itself. The framework does have a solution for this: set a form action, encoding and sending method the same way you did in HTML. Sending information to the servlet can also be made programmatically.

Setting the form post method:

Setting a form action:

Setting the form encoding:

Sending a form to the servlet: