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 the View

The view resolver, configured in the WEB-INF/jboss-as-spring-mvc-context.xml web application context, resolves View from the ModelAndView object, and the response is rendered with a catalog.jsp view template. Create catalog.jsp in the WEB-INF/views directory. To create a JSP, select File | New | Other, and in New, select Web | JSP File and click on Next. In the New JSP File wizard, select the WEB-INF/views folder, specify File name as catalog.jsp, and click on Next, as shown in the following screenshot. Subsequently click on Finish.

Creating the View

The catalog.jsp class and the other classes added, which include the controller class, the DAO classes, ...

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