SSM 통합 지식 포인트 요약 [1]

1. springMvc: 표현 층 프레임 워 크
역할: 요청 에서 들 어 오 는 인 자 를 받 아 처리 한 결과 데 이 터 를 페이지 에 되 돌려 보 여 주 는 것 입 니 다.
2. ssm 통합:
  1)Dao 
    pojo                 
    SqlMapConfig.xml   mybatis      
    ApplicationContext-dao.xml    spring dao    
           
            
          Mapper
2)service 
                ApplicationContext-trans.xml
    @Service        ApplicationContext-service.xml
3)controller 
    SpringMvc.xml 
            :  @Controller  
            :                          
             :         controller               
4)web.xml
    springMvc       
    spring  

3. 매개 변수 바 인 딩 (요청 에서 매개 변수 수신) 중점
1)    :
     controller           ,         .
    httpservletRqeust,httpServletResponse,httpSession,Model(ModelMap    Mode     
    ,      )
2)    :string,double,float,integer,long.boolean
3)pojo  :   input  name        pojo     
4)vo  :   input  name        vo    .  .  ....
5)      converter:
      :  springMvc   string     date               
             Converter  
     springMvc.xml         
     springMvc.xml                

좋은 웹페이지 즐겨찾기