07-04-2017, 08:15 AM
i want to create a page.this page called attendance.and in database students are 20.when this page load then all student data will be show in this attendance page.suppose name Amit in front of amit will create 3 radio buttons dynamically present absent waiting.. so how i can create this page and after that this date save in tha attandance table.mydatabase is in mysql.
Posts: 14,118
Threads: 61
Joined: Oct 2014
Servlets are most commonly used to process or store a Java class in Java EE that complies with the Java Servlet API, a standard for implementing Java classes that respond to requests. Servlets could in principle be communicated through any client-server protocol, but are most often used with the HTTP protocol. Thus, "servlet" is often used as an abbreviation for "HTTP servlet". Therefore, a software developer can use a servlet to add dynamic content to a web server using the Java platform. The generated content is commonly HTML, but there may be other data like XML. Servlets can maintain the state of session variables in many server transactions by using HTTP cookies or URL rewriting.
To implement and run a servlet, a web container must be used. A web container (also known as a servlet container) is essentially the component of a web server that interacts with servlets. The web container is responsible for managing the servlet lifecycle, assigning a URL to a particular servlet, and ensuring that the URL requester has the correct access rights.
It can be understood in the following video: