Java EE Servlet/JSP tutorial: Building a simple listing in JSP

From Resin 4.0 Wiki

Revision as of 00:00, 27 April 2012 by Rick (Talk | contribs)
Jump to: navigation, search

Building a simple listing in JSP and Servlets. This tutorial is part of Java_EE_Tutorial_covering_JSP_2.2,_and_Servlets_3.0.

Assuming very little knowledge of HTML, Java and JSP, you can get started with Java Servlets and JSP (Java Server Pages) quite easily.

First step is getting Eclipse WTP and getting the Resin 4.0 runtime.

Getting Eclipse WTP

First go here to get Eclipse for Java EE: Install Guide for Eclipse for Java EE Indigo or higher.


Using Eclipse Indigo or higher

Install Resin plugin:

  1. Go to File menu -> New Project -> Dynamic Web Project
  2. In New Dynamic Web Project Dialog-> New Runtime...
  3. In New Runtime Dialog -> Download Additional Server Adapters -> Select Resin (Java EE Web Profile) 4.0.x
  4. (Click Next and Ok until it installs Resin runtime)
  5. (Eclipse needs to restart)


  1. File -> New Project -> Dynamic Web Project
  2. In New Dynamic Web Project Dialog-> New Runtime...->Select Resin->Check create local server checkbox
  3. Step 2 of New Runtime...->Click Download and Install (you only have to do this once)
  4. Fill out project name etc. (bookstore).
  5. (Click Next and Ok until you are done)



File:Http://en.wikipedia.org/upload/b/bc/Wiki.png

Personal tools
TOOLBOX
LANGUAGES