User-submitted J2EE Projects

116
1982 reads
The Servlet Filter Example
The example below demonstrates how to use response filter in Java Servlet. The example allows the user to view a simple greeting message as output.
The Servlet Filter Example

Run It Now!
120
2019 reads
PhantomX's picture

Submitted by

PhantomX
IP Filter Example
The I P filter example below demonstrates how to provide a basic security mechanism for a firewall to determine what traffic passes through the firewall based on IP address details. The example filte
IP Filter Example

Run It Now!
158
2392 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!
204
2614 reads
PhantomX's picture

Submitted by

PhantomX
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.
Filter Example

Run It Now!
109
1696 reads
Command Servlet Example
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.
Command Servlet Example

Run It Now!
117
1765 reads
PhantomX's picture

Submitted by

PhantomX
Logging
Example 11 - Logging
Logging

Run It Now!
183
1952 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!
166
1714 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!
168
1914 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!
164
1552 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!