码迷,mamicode.com
首页 >  
搜索关键字:spring cloud config    ( 71957个结果
ubuntu 14.04 VSFTPD 匿名FTP服务器 配置文件
ubuntu 14.04 VSFTPD 匿名FTP服务器 配置文件 可以提供上传,下载,修改,等操作 # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to mak...
分类:其他好文   时间:2014-05-07 04:26:57    阅读次数:488
WebService之CXF注解报错(一)
WebService之CXF注解 1、具体报错如下 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-5-4 22:42:12 org.apache.catalina.core.AprLifecycleL...
分类:Web程序   时间:2014-05-07 03:33:05    阅读次数:630
spring框架中多数据源创建加载并且实现动态切换的配置实例代码
spring框架中多数据源创建加载并且实现动态切换的配置实例代码,代码下载地址:http://www.zuidaima.com/share/1774074130205696.htm...
分类:编程语言   时间:2014-05-07 03:18:33    阅读次数:442
SNMP安全配置的两种方法(也可同时兼顾配置两种方法)
方法一(最简单安装): 安装 Net-SNMP CentOS及其它RedHat系列产品提供了net-snmp的二进制包。我们可以直接从源里安装。 shell> yum install net-snmp net-snmp-devel net-snmp-utils 说明:net-snmp-devel是为了使用net-snmp-config, net-snmp-utils是为了使...
分类:其他好文   时间:2014-05-07 02:48:36    阅读次数:428
Hibernate 错误解决(TransactionException: Transaction not successfully started)
【关键的错误信息】: TransactionException: Transaction not successfully started 和一个 doCommit 从该关键字看,是使用Hibernate事务管理器(而不是Spring,下面详细log的绿色字体)处理事务的commit时抛出的, 【具体解决】:       //下面的代码段会报错 Session sessio...
分类:系统相关   时间:2014-05-06 22:44:10    阅读次数:628
Java操作IO各主要类介绍
DataInputStream和DataOutputStream 往二进制文件中读和写入java基本数据类型 public class BinaryReadWrite { private DataInputStream dis = null; private DataOutputStream dos = null; private String s_FilePath = "config\...
分类:编程语言   时间:2014-05-06 21:12:07    阅读次数:567
Spring MVC遭遇checkbox的问题解决方案
SpringMVC遭遇checkbox的问题是:当checkbox全不选时候,则该checkbox域的变量为null,不能动态绑定到spring的controller方法的入参上,并抛出异常。解决方案:1、javascript方式提交,提交前拼提交参数串,拼完后通过ajax方式提交。可以使用controller请求参数绑定。缺点:逐..
分类:编程语言   时间:2014-05-06 20:18:00    阅读次数:416
注解方式定义的spring component打jar后,扫描失败的可能原因
情况是这样的:web工程采用了ssh框架,dao和service都是通过annotation方式注入的,工程运行正常。后来把service和dao打成jar放在工程的lib目录下,问题来了,配置没改动,结果就是不能自动注入dao和service。但是如果把dao和service在spring配置文件中通过xml文件配置,这些component能找到。         搜索了一把,发现这个问题比较...
分类:编程语言   时间:2014-05-06 19:33:09    阅读次数:437
Cage与Spring的整合
packagecom.lavasoft.ntv.web.common; importcom.github.cage.Cage; importcom.github.cage.IGenerator; importorg.springframework.beans.factory.annotation.Autowired; importorg.springframework.beans.factory.annotation.Qualifier; importorg.springframework.stereotyp..
分类:编程语言   时间:2014-05-06 17:38:55    阅读次数:753
patchca整合Spring MVC生成超炫的验证码
官方的色调单一,随机色也不随机,黑不拉几的,很难看。为此做了扩展实现,并整合了springmvc,生成的验证码漂亮多了。官网:http://code.google.com/p/patchca/官方效果:下面是我整合到spring并修扩展后的效果:packagecom.lavasoft.ntv.web; importorg.patchca.color.ColorF..
分类:编程语言   时间:2014-05-06 16:21:28    阅读次数:571
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!