This feature is supported in the Ultimate edition only.
- Open the New Servlet dialog box from the Project tool window.
- In the <servlet-name> text box, specify the root part of the new servlet name.
- In the
Package
text box, specify the name of the target package where the new servlet will be generated.
If necessary, use the
button. The
Choose Servlet Package
dialog box opens.
- Select the relevant package or create a new one by clicking
.
Click OK. You return to the
New Servlet
dialog box.
- In the
Servlet Class
text box, type the name of the class that implements the new servlet. If necessary, use the
button. The
Choose Servlet Class
dialog box opens.
- Select the relevant class and click OK. You return to the New Servlet dialog box.
- Click OK.