O'Reilly logo

Advanced Java® EE Development with WildFly® by Deepak Vohra

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 servlet

In this section, we will create a servlet to process an Ajax request. Select File | New | Other, and in New, select Web | Servlet, which is shown as follows. Then, click on Next.

Creating a servlet

The Create Servlet wizard gets started. Select Project as jboss-ajax, Source folder as src\main\java, Java package as org.jboss.ajax.controller, Class name as AjaxFormServlet, and Superclass as javax.servlet.http.HttpServlet, as shown in the following screenshot. Then click on Next.

Creating a servlet

Specify URL mappings as AjaxFormServlet and click on Next, as shown in the ...

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