要用前台的controller才能获得值。
配置文件得是下面的才行
<bean
class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="webBindingInitializer">
<bean
class="com.lsoba.common.web.springmvc.BindingInitializer" />
</property>
</bean>
如果用这个
<bean
class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
<property name="interceptors">
<list>
<ref bean="adminContextInterceptor" />
<ref bean="adminLocaleIntercept" />
</list>
</property>
</bean>
则会报标题错误。
分享到:
相关推荐
主要介绍了http请求405错误方法不被允许的解决 (Method not allowed),文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
jsp中kindeditor的用和遇到的问题总结附上项目配置。综合别人的再加上自己做的。并含有一个简单的测试工程和kindeditor的压缩包
主要介绍了微信小程序 HTTPS报错常见问题及解决方案的相关资料,需要的朋友可以参考下
Earlier versions of Delphi and C++ Builder will not be supported. If you need Delphi 3 or C++ Builder 3 support you will have to revert to version 3.7 of the Drag and Drop Component Suite. The ...
SCGCQ00318648 Defect VD creation on regular drives fails for older firmware where 4K sector is not supported SCGCQ00319423 Defect FreeBSD MegaCLI v8.05.02 does not detect controller when driver 5.504....
These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues...
<param-value>token,Access-Control-Allow-Origin,Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers --> <param-value>Access-Control-Allow-Origin,...
Clever Internet Suite version 9.1...IMAP client - the AppendMessage method did not work with GMail IMAP - fixed. FTP client - the file names with international symbols were obtained incorrectly - fixed. ...
documents, however this remains supported for backward compatibility reasons. ; Note that this directive does not control the , which can be ; used regardless of this directive. ; Default Value: On ;...
Windows 98 and ME are not supported in BurnInTest version 5.3 and above. Use a version of BurnInTest prior to 5.2 for compatibility with W98 and ME. Windows 95 and Windows NT =======================...