User-submitted J2EE Projects

86
1835 reads
NightAngel's picture

Submitted by

NightAngel
A Simple JSP, The JSP
The JSP example below demonstrates how to create a JSP project. The example allows the user to view the current date and the account holders details.
A Simple JSP, The JSP

Run It Now!
86
1497 reads
Combining Servlets and JSPs
A JSP example below demonstrates how to use JSP with servlets to create a desired output. The example takes integer as input and displays the output accordingly.
Combining Servlets and JSPs

Run It Now!
271
12933 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
1529 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
10894 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
1847 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
2687 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
1724 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
1640 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
1675 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!