Part 1 - Creating a basic application

The following are the steps to create the basic application:

  1. Create ReadMyBooks_JSR_Validation as a dynamic web application.
  2. Add all the required jars that we added in the earlier application.
  3. Along with these jars, also add hibernate-validator-5.0.1.final.jar, classmate-0.5.4.jar, jboss-logging-3.1.0.GA.jar, and validation-api-1.1.0.final.jar.
  4. Copy the com.packt.ch06.beans and com.packt.ch06.controllers packages along with their content.
  5. Copy index.jsp and searchByAuthor.jsp in WebContent.
  6. Add DispatcherServlet mapping in the web.xml file.
  7. Copy books-servlet.xml in WEB-INF.
  8. Copy images in the WebContent and jsps folder in WEB-INF, along with its content.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.147.193