How to do spring request parameter conversion

后端 未结 5 1590
南旧
南旧 2021-02-05 13:36

In a Spring 3 based web (portlet) application I have a controller with a method like this:

@RenderMapping
public ModelAn         


        
5条回答
  •  萌比男神i
    2021-02-05 14:00

    Spring Portlet MVC 3.0 does not support

    
    

    Visit https://jira.springsource.org/browse/SPR-6817 for more info about this.

    However you can add this to your common applicationContext

    
        
            
                
                    
                        
                    
                
            
        
    
    

    This way you do not need add @InitBinder to every single controller

    and of course

    
        
            
                
            
        
    
    

提交回复
热议问题