This appendix contains answers to all the pop quizzes that appear in the chapters. Now, let's have a look at the answers to the respective questions.
Questions |
Answers |
Suppose I have a Spring MVC application for library management called BookPedia and I want to map a web request URL |
2. |
What is the request path in the following URL: |
2. |
Considering the following servlet mapping, identify the possible matching URLs: @Override protected String[] getServletMappings() { return new String[] { "*.do"}; } |
3. |
Considering the following servlet mapping, identify the possible matching URLs: @Override protected String[] getServletMappings() { return new String[] { "/"}; } |
4. All the above |
In order to identify a class as a controller by Spring, what needs to be done? |
4. All of the above. |