Creating a webapp module

The webapp module has a JSP file that has a form to accept the input. It also has a servlet that accepts the request parameters and performs the conversion using a core module and provides the response. Now let's see how to get the webapp module in place by performing the following steps:

  1. Navigate to File | New and click on Other...; in the Select a wizard screen, search for maven via the search box, select Maven Module, and click on the Next button as shown in the following screenshot:
    Creating a webapp module
  2. In the New Maven Module window that will follow, provide the module name as distance-webapp and browse to select the parent as Distance-main ...

Get Maven for Eclipse now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.