摘要:
出处http://blog.csdn.net/u010796790 1、spring 框架解决字符串编码问题:过滤器 CharacterEncodingFilter(filter-name) 2、在web.xml配置监听器ContextLoaderListener(listener-class) C 阅读全文
posted @ 2019-01-16 19:36
panchanggui
阅读(3004)
评论(0)
推荐(0)
摘要:
<context-param>的作用:web.xml的配置中<context-param>配置作用1. 启动一个WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: <listener></listener> 和 <context-param></context- 阅读全文
posted @ 2019-01-16 19:16
panchanggui
阅读(330)
评论(0)
推荐(0)
摘要:
谈一下关系型数据库(RDBMS)与 MongoDB 的对应关系: 阅读全文
posted @ 2019-01-16 15:51
panchanggui
阅读(726)
评论(0)
推荐(0)
摘要:
启动Dubbo服务有2个方式,1是通过xml配置,2是通过注解来实现,这点和Spring相似。 采用XML配置如下: 上面代码是通过dubbo:service interface标签把接口暴露出去,在程序启动的时候会自动注册到zookeeper。 消费端调用方式配置如下: 然后我们可以像spring 阅读全文
posted @ 2019-01-16 15:45
panchanggui
阅读(3941)
评论(0)
推荐(0)
摘要:
这两个Service,都可以在service类头上使用@Service的注解,于是我就写错了,查了半天才发现。他们的区别大概是这个样子的: org.springframework.stereotype.Service org.springframework.stereotype.Service是sp 阅读全文
posted @ 2019-01-16 11:18
panchanggui
阅读(2420)
评论(0)
推荐(0)

浙公网安备 33010602011771号