User-submitted Servlets Projects

271
12914 reads
NightAngel's picture

Submitted by

NightAngel
Shopping Cart
The Shopping Cart example below demonstrates how to use servlets with JSP . The example allows the user to add items to a shopping cart, and then view the contents of the cart .
Shopping Cart

Run It Now!
98
1515 reads
NightAngel's picture

Submitted by

NightAngel
The mail-list example
The mail-list example below demonstrates how to set initialization parameters in JSP and servlet. This example takes firstname, last name and email from user, writes the details into a text files spe
The mail-list example

Run It Now!
412
10875 reads
NightAngel's picture

Submitted by

NightAngel
The JSP Portal Example
The JSP Portal example below demonstrates how to build website portal using JSP and Servlets. The example allows the user to select a portal as input and get its details as output.
The JSP Portal Example

Run It Now!
117
1832 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.
Servlet Filters-converting XML to XSL files

Run It Now!
203
2672 reads
Shadowheaven's picture

Submitted by

Shadowheaven
Cookies
The cookie example below demonstrates how to use cookies with JSP and servlets. The example allows the user to download songs from the respective album .
Cookies

Run It Now!
106
1708 reads
Web Application Security
The example below demonstrates how to use Security along with JSP and Servlets. The example allows the user to Login, add or delete comments.
Web Application Security

Run It Now!
112
1624 reads
Shadowheaven's picture

Submitted by

Shadowheaven
The Security example
The Security example below demonstrates how to set security roles for resources in servlets. The example allows the user with roles admin and programmer to access the admin resources.
The Security example

Run It Now!
107
1661 reads
User Authentication Example
The user authentication example below demonstrates how to authenticate user in servlets. The example allows the user to view their username and authentication mechanism as output.
User Authentication Example

Run It Now!
116
1968 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
2003 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!