摘要: tomcat的启动配置文件在 tomcat/conf/server.xml , 默认配置了一个service: 当然,host里面的Context元素是我配置web项目加上的,docBase属性值指向需要启动的web应用,path属性的值规定访问的路径命名空间,我习惯置为空字符串 现在需要两个应用, 阅读全文
posted @ 2018-05-02 13:53 zeroisbug 阅读(1416) 评论(0) 推荐(0) 编辑
摘要: const T *** const var_name 用英文的原话理解,从右向左读, * 为 pointer,每多一层加一次 to. 读作: declare var_name as a const pointer to a pointer to a pointer to a const T 阅读全文
posted @ 2018-05-02 13:45 zeroisbug 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Linux备忘录:创建IDEA快捷方式 1.进入共用的快捷方式目录: cd /usr/share/applications #dir of desktop shortcut 2.创建快捷方式的文件: sudo touch intellij-idea.desktop # creat a shortcu 阅读全文
posted @ 2018-05-02 13:34 zeroisbug 阅读(752) 评论(0) 推荐(0) 编辑