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.
catalog.jsp class and the other classes added, which include the controller class, the DAO classes, ...