摘要:
核心步骤:wget下载libevent和memcached1.先安装libevent。配置时需要指定安装路径 即./configure --prefix=/usr;然后make;然后make install;2.安装memcached,配置时需要指定libevent的安装路径 即./configur... 阅读全文
摘要:
1、SpringMVC简介Spring MVC属于SpringFrameWork的后续产品,它提供了构建 Web 应用程序的全功能 MVC 模块,与Struts2一样是一种优秀MVC框架,不同的是自Spring2.5引入了注解式controller及Spring 3以后的不断完善,使得采用Sprin... 阅读全文
摘要:
websphere安装方式1、websphere安装时可以只安装应用概要即可,只去启动server2、如果需要管理多个节点则需要创建管理概要,并将SOAP端口添加到节点上,并且每次都需要先启动应用管理服务,在启动节点,最后启动server静默安装websphere1、安装websphere(前提安装... 阅读全文
摘要:
项目启动后读取属性文件 classpath:/com/zsw/config/jdbc.properties --> classpath:/com/zsw/config/jdbc.prop... 阅读全文
摘要:
Spring中提供一些Aware相关接口,像是BeanFactoryAware、 ApplicationContextAware、ResourceLoaderAware、ServletContextAware等等,实现这些 Aware接口的Bean在被初始之后,可以取得一些相对应的资源,例如实现Be... 阅读全文
摘要:
spring自动创建bean成功,如何获知已经成功1、在spring的xml中配置bean时加上init-method="init"并在bean对象中添加init()方法public void init(){ System.out.println("Bean.init...");}2、使用bean对... 阅读全文
摘要:
1、日志文件Caused by: java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded at org.springframework.web.uti... 阅读全文
摘要:
1、获取数据库文件存储位置(Local database directory) 查看所有数据库db2 list db directorySystem Database Directory Number of entries in the directory = 3Database 1 entry: ... 阅读全文
摘要:
1、连接数据库方式1、使用sqlplus切换数据库cmdsqlplus scott/tiger@oraclesqlplus scott/tiger@ORCL2、使用sqlplusw切换用户只需在登陆时主机符号处写入数据库名字也可以使用conn scott/tiger@oracle1直接切换3、PL/... 阅读全文
摘要:
1、文件权限表示文件或目录的访问权限分为只读,只写和可执行三种-rwxrwxrwx root(用户) root(所属组)r代表只读,w代表写,x代表可执行注意这里共有10个位置:第一个字符指定了文件类型。如果第一个字符是横线,表示是一个非目录的文件,如果是d,表示是一个目录。每一文件或目录的访问权限... 阅读全文