The java mail example below demonstrates how to send a mail in servlets using java mail.
The example below allows the user to send a mail to the given email address.
The xml servlet example below demonstrates how to create a xml file using servlets.
The example creates a xml file with the data specified in the servlet.
The user info example below demonstrates how to use multiple servlets.
The example allows the user to view the list of customers where user can edit or delete customer details.
The time update example below demonstrates how to refresh the servlet using addHeader() method.
The example allows the user to view the current updated time as output.
The random redirector example below demonstrates how to redirect the servlet to other sites.
The example randomly redirects to other site, each time the servlet is invoked.
The helloworld servlet example below demonstrates how to create a simple servlet.
The example allows the user to view the "Hello World" message as output.
The command servlet example below demonstrates how to use servlet with HTML.
The example provides the user HTML links where user can click any of these links.