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 user interface

An Ajax request is initiated in a browser from a web page. In this section, we will create the user interface for the Ajax application. To initiate an Ajax request, JavaScript is required, for which we will create a JSP page. We have used JSP, but another user interface technology, such as JSF, can be used instead. Select File | New | Other, and in New, select Web | JSP File and click on Next.

In the New JSP File wizard, select the webapp folder, specify File name (ajaxJBoss.jsp), and click on Next, as shown in the following screenshot:

Creating a user interface

In Select JSP Template, select the New JSP File (html) template, and click on Finish ...

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