The Workbench provides a number of wizards for creating webMathematica material.
The New Project wizard creates an entire web project. From the menu bar choose File > New > Project. In the dialog that comes up choose Web Form Project from the Mathematica section.
An example of creating a project is described in the Getting Started section.
The New Web Form wizard creates a single JSP page that includes an HTML web form. From the menu bar choose File > New > Other. In the dialog that comes up choose Web Form Project from the Mathematica section.