`
lingshangwen
  • 浏览: 61222 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
下载maven2:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.1.0-bin.tar.gz Unix-based Operating Systems (Linux, Solaris and Mac OS X) Extract the distribution archive, i.e. apache-maven-2.0.10-bin.tar.gz to the directory you wish to install Maven 2.0.10. These instructions assu ...
resin 3.1配置: resin3.1很多配置方法都不同于3.0 , 配置上走了不少弯路. 由于前段是nginx而不是apache,srun端口用不上, nginx只能通过http端口访问resin. 而启动多resin进程只能用${resin_home}/bin/httpd.sh -server a start 这种方式来启动srun端口,  在此把srun端口和http端口绑定起来就可以了. resin相关配置文件如下: <server address="127.0.0.1" port="6801">         ...
假设RESIN_HOME=/usr/local/resin 复制$RESIN_HOME/conf/resin.xml为多个 resin1.xml,resin2.xml,resin3.xml   修改resin1.xml  <server id="resin1 " address="127.0.0.1" port="6800"/>   修改resin2.xml  <http address="*" port="9080 "/>  <server i ...
pygame新手指南 ——zzj译   原文出处:http://www.pygame.org/docs/tut/newbieguide.html                                                                文章来源:www.pythontik.comPygame是SDL的一个python封装,由Pete Shinners编写。使用pygame,你可以用Python写游戏或其它的多媒体应用程序,它们将稳定地运行在SDL支持的任何平台上(Windows,Unix,Mac,beOS和其它等等)。Pygame 容易学习,但 ...
...... InputStream is = null;  BufferedInputStream bis = null; BufferedOutputStream bos = null; try { is = new FileInputStream(lfm.loadFile(req)); bis = new BufferedInputStream(is); bos = new BufferedOutputStream( ...
If care is not taken with the quoting of literals, the expression language (OGNL) will misinterpret a char as a String. =========================================== Wrong <s:if test="aStringProperty == 'A'">   Why doesn't this work when myString is equal to A? </s:if> ======== ...
环境变量配置文件 在Ubuntu中有如下几个文件可以设置环境变量 1、/etc/profile:在登录时,操作系统定制用户环境时使用的第一个文件,此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行。 2、/etc/environment:在登录时操作系统使用的第二个文件,系统在读取你自己的profile前,设置环境文件的环境变量。 3、~/.bash_profile:在登录时用到的第三个文件是.profile文件,每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登录时,该 文件仅仅执行一次!默认情况下,他设置一些环境变游戏量,执行用户的.bashrc文件。/e ...
添加dojo依赖 <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-dojo-plugin</artifactId> <version>2.1.6</version> <type>jar</type> <scope>compile</scope> </dependency>  ================= & ...
Global site tag (gtag.js) - Google Analytics