TOC PREV NEXT INDEX



Creating a Servlet


We will now create the servlet which provide the response to the HTML form. The first version of the servlet will be very simple; we'll add more features in later parts of the tutorial.

  1. Choose 'Create an HttpServlet' from the button bar. You will see a new icon with a name similar to 'Untitled0.HttpServlet'.
  2. Click it once to select it.
  3. From the Edit menu, choose 'Rename selection'.
  4. Rename it to 'Response.HttpServlet'.
  5. Double click the new 'Response.HttpServlet' icon to open the HttpServlet Composer. A new HttpServlet Composer window will open.

Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX