O'Reilly logo

Maven for Eclipse by Sanjay Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required