tomcat中的虚拟目录设置
安装并配置好APACHE2,TOMCAT5,JK之后,样例程序一直无法运行。 最后才知道是默认的context好像是设置在ROOT目录下,然后在HOST中添加一个CONTEXT就可以了: <Context path="" docBase="" debug="0" reloadbable="true" />
View Articleubuntu tips: Move /home to it’s own partition
You can move any directory with this tips, and I just use this tip move my home directory to a independent disk. Having the “/home” directory tree on it’s own partition has several advantages, the...
View Articlec++中如何创建目录
c++中读写文件直接使用fstream就可以操作,但如何对目录进行操作? 一番搜索下来后,发现std库并不能处理目录的操作,需要使用额外库来进行操作。 windows平台下: #include <windows.h> CreateDirectory (char *DirName, SECURITY_ATTRIBUTES Attribs); linux平台下: #include...
View Article
More Pages to Explore .....