Resources logo  
  MOREnet logo
kinetic Home | kinetic Manager | E-mail Services | Web Site Management |
 Home >  Web Site Management >  Java Application Server >  JavaServer Pages >  MOREnet Example Web Application
     
JavaServer Pages  
     
  JSP Tag Libraries  
  Tutorial:Creating Your First Database-enabled Web Application  
  MOREnet Example Web Application  
     

View the printer friendly version of this document

MOREnet Example Web Application

Revised: August 01, 2011

The MOREnet example web application contains JavaServer Page (JSP) examples that use custom tag libraries. These JSP pages use the JSP Standard Tag Library (JSTL) and other custom tag libraries to display the contents of a database and e-mail information entered into a web form. This example also shows how you can configure custom error pages for your web applications.

Prerequisites

  1. Complete the Local Development installations for Java,Tomcat, and MySQL. These are available on the Resources website at this URL:

    http://kinetic.more.net/web/javaserver/localdev/

  2. Start Tomcat and the MySQL database.
Important: This example web application is also bundled with MOREnet's distribution of Tomcat for local development. If you are using MOREnet's distribution, you may already have this example web application. Older versions of the Tomcat distribution contain an example web application named "MOREnet", but the examples do not use the JSP Standard Tag Library.

Download and Install the Web Application

  1. Download the MOREnet example web application and save it to a temporary location on your hard drive. If you are using Windows, you will need to add quotation marks around the filename in the Save As window that appears. If you do not do this, Windows usually adds ".zip" to the end of the filename.
  2. Install the web application in Tomcat. If you are unsure about how to install a web application, review the "Installing and Starting a Web Application" section in the Web Application Overview.