WEF Consulting, Inc. Corporate Logo

  Lighting your path to success.
The links below demonstrate some simple Java Server Pages (JSP) and Servlets. Please use the knowledge base or helpdesk to obtain additional information.

Servlet Examples JavaServer Pages (JSP) Examples
  • A Hello World! JSP. Demonstrates embedding Java code in the HTML page.
  • A Number Guessing Game (JSP). This JSP uses a session bean to maintain the corret answer, and the number of guesses.
  • A shopping cart JSP. Developed for a Northeastern University class. The shopping cart data is maintain in a session (only in memory). No real purchases are performed.

Note: Some examples provided as part of the Tomcat distribution.

Tomcat logo

04 Jan 2011 ::
More Space!
More Bandwidth!

50% (and more) space!
double the bandwidth
Visit Host Pricing page for details.

08 Jul 2007 ::
Site Update

We are now running CPanel 11. Please let us know if you have any questions.

Free Domains

Purchase ANY 12 month hosting plan, and you can register or transfer your domain name for FREE! See Hosting page for details and restrictions.

Search Site

Member Area Login

Our sites are "LAMP" powered. - Linux, Apache, MySQL and PHP/Perl/Python.

Copyright 2005 WEF Consulting, Inc. All rights reserved.

Problems with this site? Please contact the webmaster:


This and other examples are available at: