- 浏览: 167356 次
- 性别:
- 来自: 北京
最新评论
-
龙碧云:
写的好
struts2 action 属性不写 get set -
异彩飞天:
请问连接字符串怎么写?
C#MysqlHelper -
winerdaxian:
...
ext form load -
zhanglufei2010:
问一下 为什么要把自己定义的放在最后面啊?
struts2 interceptor-stack -
oritenson:
很好!
S2SH所需jar包
文章列表
SpringMVC:整合JQUERY与JSON
- 博客分类:
- 我的收藏夹
http://liuzidong.iteye.com/blog/1069343
spring 3.0.5 入引<mvc:resources后解决静态资源的问题,可是URL访问请求确不能解析,原来的servlet控制器不起作用了,尝试了半天最后<mvc:annotation-driven/> 问题解决。
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/ ...
转载
http://imtinx.iteye.com/blog/832325
在《你可能不知道的Java基础知识(一)》中,我提到使用浮点运算要慎重,感觉说的不够透彻,其实float和double类型主要是为科学和工程计算而设计的。他们执行的是二进制浮点运算,由于二进 ...
eclipse tomcat 工程存放位置
- 博客分类:
- java
d:\我的文档\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\xxx
jstl 中的<c:if test="${}">
如判断某个list对象是否为空时,就可以通过
<c:if test="${empty list名}">
来判断,
条件判断是使用or==|| ,and==&&
<s:if test="insideNews.topPic!=null">
<img src="${ctx}${insideNews.topPic}" width="308" height="22 ...
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
2009-11-6 21:39:17 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2009-11-6 21:39:17 org.apache.catalina.core.StandardC ...
http://www.iteye.com/topic/828513
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^hello\.com
RewriteRule ^(.*)$ http://www.hello.com/$1 [R=permanent,L]
apahce虚拟主机
- 博客分类:
- 服务器
NameVirtualHost *:80
<VirtualHost *>
ServerAdmin [email]gyl8680@gmail.com[/email]
DocumentRoot "D:/web/xx"
ServerName www.xxx.com
ServerAlias [url]www.xxx.com[/url]
ErrorLog "logs/www.xxx.com-error.log"
CustomLog "logs/www.xxx.com-access. ...
rm autom4te.cache
libtoolize --force --automake --copy
./buildconf.sh: line 7: libtoolize: command not found
aclocal
./buildconf.sh: line 11: aclocal: command not found
autoheader
./buildconf.sh: line 13: autoheader: command not found
automake -a --foreign --copy
./buildconf.sh: line 15: auto ...
转载http://lovemjd.blog.51cto.com/1373993/286094
本文对Apache和Tomcat服务器软件进行整合,并实现Tomcat多实例独立JVM的虚拟主机。
用虚拟主机方式为二级部门提供网站空间是一般学校的常见做法,这样既能节省服务器设备的投资又减少了管理工作量。Linux环境下,通常使用Apache实现静态HTML和动态PHP网站的虚拟主机,使用Tomcat实现JSP网站的虚拟主机。对于Apache虚拟主机,配合MySQL数据库的WEB管理工具PhpMyAdmin已经有了很成熟的实现;而对于Tomcat虚拟主机来说,当多个网站共享同一 ...
先执行find / -name httpd查看是否存在
rpm -qf httpd如果是安装了包,显示包名
rpm -ql 包名
检查是否已安装,列出相关的包:
# rpm -qa |grep httpd
# rpm -qa |grep tomcat
# rpm -qa |grep php
# rpm -qa |grep MySql
查看进程:
ps -ef |grep tomcat
ps -ef |grep httpd
卸载:
[root@localhost ~]# rpm -qa|gre ...