Wesley13 Wesley13
3年前
Dubbo与Zookeeper、SpringMVC整合和使用(入门级)
!(https://static.oschina.net/uploads/space/2017/0503/130638_HzVw_1444646.png)介绍就不过多的说明。可以参考http://blog.csdn.net/congcong68/article/details/41113239博客里面写的相关介绍。后续会补充完善SpringMVC
Stella981 Stella981
3年前
Ajax和SpringMVC之间JSON交互
Ajax和SpringMVC之间的json数据传输有两种方式:1.直接传输Json对象2.将Json序列化成json字符串1.直接传输Json对象前端Ajax$(document).ready(function(){$("btn_login").click(function(){
Easter79 Easter79
3年前
SpringMVC中的数据传递
将数据由控制层传到视图层使用Model对象,实际上是一个Map,同样可以使用Map代替当视图是jsp时,model被放在了request中,也就是说可以在jsp中使用el表达式取出@ControllerpublicclassListController{@Reque
Stella981 Stella981
3年前
Spring MVC 中的基于注解的 Controller
SpringMVC中的基于注解的Controller@Controller(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.iteye.com%2Fblogs%2Ftag%2F%40Controller)基于注解的Controller(https://ww
Easter79 Easter79
3年前
SpringMVC+MyBatis项目总结(一)
环境Spring3.2Mybatis3.2.7,JDK1.6,开发工具Myeclipse2014GAPro,数据库MySQL5.5(数据采用之前Oracle的,直接用Navicat从Oracle导入到Mysql,然后改了一下数据类型,主键自增)Mapper和实体部分使用MybatisGenerator生成(取消了Example),然后按照
Easter79 Easter79
3年前
SpringMvc中@resource和@autowired区别
在java代码中使用@Autowired或@Resource注解方式进行装配这两个注解的区别是:@Autowired默认按类型装配,@Resource(https://my.oschina.net/u/929718)默认按名称装配,当找不到与名称匹配的bean才会按类型装配。如果我们想使用按名称装
Easter79 Easter79
3年前
SpringMVC 提交表单400 Bad Request
第一种:后台: @RequestMapping(value"/add",methodRequestMethod.POST)    public String add(User user, String addressId) {        Address address  userDao.getAd
Easter79 Easter79
3年前
SpringMVC项目启动报RequestMappingHandlerMapping异常
严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCr
Easter79 Easter79
3年前
SpringMVC上传文件遇到的问题
完整错误:org.springframework.beans.BeanInstantiationException:Couldnotinstantiatebeanclass\org.springframework.web.multipart.MultipartFile\:Specifiedclassisaninterface
Wesley13 Wesley13
3年前
ueditor1.4.3 springmvc图片上传
ueditor:百度富文本编辑器,地址:ueditor.baidu.com版本选择,之所以选择1.4.3,是因为ueditor1.4.2才修复在bootstrap环境下图片拖拽异常,看到1.4.3也修复了不少的bug,没敢使用1.4.2,稍微看了下源码,1.4.3里面很多todo注释,ueditor一直在改进,不太成熟,既然这么多bug,为什么要选ue