MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

Spring Framework

Spring Projects

Spring Project 1

Handler Adapters in Spring MVC
Previous Home Next

The spring MVC provide the facility to Handler Adapters concept, this concept provide the facility to forwarded the request to the Controller object which are configure in the spring configuration file.

Type of Handler Adapter in Spring

Spring MVC provide the following type of Handler Adapters:

  1. SimpleControllerHandlerAdapter
  2. ThrowawayControllerHandlerAdapter
  3. SimpleServletHandlerAdapter

 

SimpleControllerHandlerAdapter: This Handler Adapters is the default forwarding the request to the controller object.

<bean id="simpleHandler"
class = "org.springframework.web.servlet.
SimpleControllerHandlerAdapter"/>

ThrowawayControllerHandlerAdapter: This Handler Adapters provide the facility to carries the Request from the DispatcherServlet to the Throwaway Controller.

<bean id="throwawayHandler"
class = "org.springframework.web.servlet.mvc.throwaway.
    ThrowawayControllerHandlerAdapter"/>

SimpleServletHandlerAdapter: This Handler Adapters provide the facility to forward the Request from the Dispatcher Servlet to a Servlet then invoke the Servlet.service() method.

<bean id="simpleServletHandler" 
class="org.springframework.web.servlet.mvc.throwaway.
    SimpleServletHandlerAdapter"/>
Previous Home Next