最新文章列表

Linux下的nginx,resin,squid,lighttpd相关

题记: nginx,resin,squid,lighttpd 这四者之间没有直接的关联;放到一起仅仅是我个人想总结一下自己的知识而已,并无他意! 1 Nginx :  http://nginx.net/ ...
squid 评论(0) 有653人浏览 2010-08-11 22:11

将一个文件由gbk 转成 utf-8

public void transform(String fileName) { try { String line_separator = System.getProperty("line.separator"); FileInputStream fis; fis = new FileInputStream(fileName); Stri ...
kaqi 评论(0) 有1547人浏览 2010-08-11 21:02

struts.xml

<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC     "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"     "http://struts.apac ...
JadeLuo 评论(0) 有894人浏览 2010-08-11 20:48

web.xml

<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSche ...
JadeLuo 评论(0) 有918人浏览 2010-08-11 20:47

Subversion安装、配置与使用

此文章只代表作者一段时间的看法和观点。此文是作者原创,如第三方用于商业用途需经本人同意,转载、引用本文请注意出处。 一.为什么要进行代码控制 在软件开发的过程中,经常因为程序代码版本的不统一而导致重新开发,或者在多人开发的项目中,多人共同修改了同一个公共代码文件而导致的相互复盖的问题,诸如此类的问题还有很多,下面我们就来举一个例子。  比如说UserA和UserB各自为自己的需求需要在公 ...
Hello_Kitty_O 评论(0) 有1240人浏览 2010-08-11 19:29

[转]tomcat调优配置及集群实施方案

转自:http://www.ixdba.net/a/os/linux/2010/0610/201.html 一、操作系统调优 对于操作系统优化来说,是尽可能的增大可使用的内存容量、提高CPU的频率,保证文件 ...
xuliduo 评论(0) 有2015人浏览 2010-08-11 19:16

hibernate 常见的几个问题(二)

org.hibernate.TransientObjectException: entity.User exception      javax.servlet.ServletException: org.springframework.dao.InvalidDataAccessApiUsageException: entity.User; nested exception is org.hib ...
robin88129 评论(0) 有1719人浏览 2010-08-11 17:52

如何创建一个gwt2.0工程

如何创建一个gwt2.0工程 1.环境变量的设置 ANT_HOME D:\apache-ant-1.8.1 http://ant.apache.org/ GWT_HOME E:\GWT\gwt-2.0.0\gwt-2.0.0 http://www.freewarefiles.com/Google-Web-Toolkit-GWT_p ...
严东军 评论(0) 有1791人浏览 2010-08-11 17:27

介绍几种常用的注册window服务工具

介绍五种方式   一,微软官方工具包   .1. 下载nginx windows版本  http://www.nginx.org 2. 下载微软的2个工具: instsrv.exe、srvany.exe 去微软网站下载安装Windows Server 2003 Resource Kit Tools(rktools.exe),它包括标题提及的所有必要的工具,下载完安装好。 3. 运行命令 ...
deeplyloving 评论(0) 有8235人浏览 2010-08-11 15:39

apache 与 tomcat

    我们介绍一下Tomcat服务器软件,Tomcat是Sun和Apache合作做出来的JSPServer,支持Servlet2.2及JSP1.1等版本。笔者建议大家使用Tomcat,而且Tomcat未来将会取代JSPerver,成为Apache主要的Servlet&JSPEngine。Tomcat在设计上是以独立的Server执行,而不像JSPerver是附在Apache中,这样就更可以 ...
afterglow 评论(0) 有895人浏览 2010-08-11 15:37

Spring测试

好几天都在做spring源码分析,初步分析 package cn.com.nuoter.playbar.groupon; import org.apache.xbean.spring.context.ClassPathXmlApplicationContext; import org.springframework.beans.factory.support.DefaultListabl ...
yuxiangtong 评论(0) 有4087人浏览 2010-08-11 14:06

struts2+convertion实现struts.xml的零配置

  这几天看了看struts2,有看了一些教程,发现零配置这个思想挺好的,可以简化好多代码!于是就学着做了起来。 struts.xml配置文件 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundati ...
qqybh 评论(0) 有2473人浏览 2010-08-11 13:58

java.lang.NoSuchMethodError: org.hibernate.event.PreInsertEvent.getSource() 解决办法

java.lang.NoSuchMethodError: org.hibernate.event.PreInsertEvent.getSource()Lorg/hibernate/event/EventSource; org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.ja ...
287854442 评论(1) 有8344人浏览 2010-08-11 12:04

webservice生成客户端的方法

目前为止webservice生成客户端方法比较多,我本身使用的主要有三种方式: (1)使用eclipse自带。 file->new->other->webservices->web service client (2)使用axis插件 file->new->other->axis2wizards->axis2 code generator ( ...
tl396900 评论(0) 有1184人浏览 2010-08-11 11:45

[转]HttpClient的超时用法小记

原文 http://blog.163.com/xing_mu_1/blog/static/6614290201032084947978/ HttpClient在使用中有两个超时时间,是一直接触和使用的,由于上次工作中使用httpClient造成了系统悲剧的情况,特地对它的两个超时时间进行了小小的测试,在这里记录下。      测试版本为HttpClient——3.1      一: ...
bluedest 评论(0) 有1997人浏览 2010-08-11 11:13

JSON与JAVA的数据转换--list

JSON-lib这个Java类包用于把bean,map和XML转换成JSON并能够把JSON转回成bean和DynaBean。   下载地址:http://json-lib.sourceforge.net/   还要须要的第3方包:   org.apache.commons(3.2以上版本)   org.apache.oro   net.sf.ezmorph(ezmorph-1.0.4.jar)   ...
cindysaj 评论(0) 有2721人浏览 2010-08-11 10:58

关于web service 中SOAP的配置

配置SOAP报错 在tom5上装soap,进入soap/admin/后报错: type Exception report message description The server encountered an internal error () that divvented it from fulfilling this request. exception org.apache.jasper ...
glyustb 评论(0) 有1297人浏览 2010-08-11 10:56

用Apache AXIS 开发 Web Services

说明及约定:     本文主要描述如何使用Apache开源项目Axis提供的API来实现Web Services。本文中的提到的例子只为了方便本文的描述而提出,有不妥之处请见谅。     本文的读者应有JAVA web 应用开发基础。应该具有看过WSDL,SOAP,XML等的基本规范。熟悉Eclipse+MyEclipse开发环境。     本文可以随意转载使用,但是要保留作者的署名。 ...
tl396900 评论(0) 有999人浏览 2010-08-11 10:51

android应用客户端自动升级

import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import org.apache.http.HttpEntity; import org.apache.http.HttpRespo ...
ithinkfeed 评论(0) 有1416人浏览 2010-08-11 10:50

java httpClient4.0 通过代理认证访问网站

httpClient4.0 通过代理认证访问网站 import java.io.IOException; import org.apache.http.HttpEntity; import org.apache.http.HttpHost; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; ...
dh189 评论(0) 有2950人浏览 2010-08-11 10:09

最近博客热门TAG

Apache(33928) Lucene(5053) Hadoop(5049) nginx(3449) vim(3262) GCC(2954) memcached(2625) jfreechart(1688) Django(1602) Zend(1413) ActiveMQ(1398) Grails(1374) ActiveRecord(1349) OpenSource(1236) Emacs(870) Glassfish(858) lighttpd(810) rubygems(716) GAE(631) Blend(516)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics