..


Sponsored Links

Manage your forms with JSP

Article written by Claudio Garau
Page 1 of 4

1. JSP Form

The use of form is probably one of the most popular methods for the management of feedback from users and web pages, almost all websites have forms to fill out to make any claim, by the most advanced e-commerce application to the smallest " showcase site "business.

JSP is a technology that provides advanced tools for managing forms, these are based on a system of communication / exchange between client servers used by other server side scripting languages ​​like PHP and ASP.

In JSP pages, the user input data in the fields of application forms is collected and allocated as a request sent by the client object to the Server Engine (eg Tomcat).

The JSP engine, will accept the request and send it to the component, such as a bean or a servlet, which shall satisfy it. Generally, the request will include the search for information within a database or a file containing data, or generating an expected behavior.

Once the resource found by the action of the component, it will send a response to the Server object that the engine will return to the client in a "readable", ie as an HTML page containing the desired output, in this last phase, there will be of course, a JSP page for processing and return the output.

As described, will be known respecting the dynamic input / output operation of the underlying HTTP protocol:

  1. Called by client
  2. Interpretation of the call from the web server
  3. Search for the requested resource within the server
  4. Return the output to the client
In the case of JSP pages we may need to list an additional step for loading an application (as in the case of a Bean), necessary for the execution of the request.

Of course, you can also use different protocols with respect to 'HTTP, but it is clear that in most cases it will be with it we have to do.

In the same category ...
E-Learning
ASP.NET (Course) ASP.NET (Course)
Full course for building Web applications from 49 €.
CSS (Course) CSS (Course)
Web Design and Accessibility according to W3C CSS and XHTML. Starting from 29 €.
HTML (Course) HTML (Course)
The markup language for the Web from 29 €.
Sponsored Links