User-submitted Servlets Projects

183
1939 reads
The Image Servlet Example
The image servlet example demonstrates how to pass image as response in servlets. The example allows the user to view image as response.
The Image Servlet Example

Run It Now!
172
2652 reads
Kernel9's picture

Submitted by

Kernel9
The Online Gas Purchase Store Example
The online gas purchase store example below demonstrates how to use session in servlets. This example accepts purchase details from user and adds them into the current purchases table.
The Online Gas Purchase Store Example

Run It Now!
168
1898 reads
The Random Redirector Example
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 Random Redirector Example

Run It Now!
166
1702 reads
PhantomX's picture

Submitted by

PhantomX
Form Process
The form process example below demonstrates how to implement form process in servlets.
Form Process

Run It Now!
164
1538 reads
Timothy5's picture

Submitted by

Timothy5
The Time Update
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 Time Update

Run It Now!
159
1947 reads
Simple Servlet example
The servlet example below demonstrates how to use java bean with servlets. The example takes an input as confirmation number from user and prints the details of the registration as output.
Run It Now!
158
2379 reads
The Multiple Filters Example
The multiple filters example below demonstrate how to use multiple filters in servlets. The example allows the user to download songs from the respective albums.
The Multiple Filters Example

Run It Now!
155
1670 reads
Anuj's picture

Submitted by

Anuj
A Simple Servlet
The hello world example below demonstrates the working of servlets. The example allows the user to view Hello World message as output.
A Simple Servlet

Run It Now!
155
3730 reads
JSP Filter example
The filter example below demonstrates how to user filters with servlets. The example allows the user to view special offers which gives random offers.
Run It Now!
152
2268 reads
Servlet Filters-converting XML to XSL files
The servlet filter example below demonstrates how to XML files to XSL using Servlet Filter. The example converts the roster.xml file to a XSL fle.
Run It Now!
Make & share a project and showcase your talent to the world!