随笔分类 -  Tomcat

摘要:原文:http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html Introduction(介绍) Tomcat provides a JNDI InitialContext implementation instance fo 阅读全文
posted @ 2015-12-13 11:22 codeplayplus 阅读(707) 评论(0) 推荐(0)
摘要:原文:http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Resource_Definitions The Context Container(Context容器) Introduction(介绍) The description 阅读全文
posted @ 2015-12-11 15:15 codeplayplus 阅读(891) 评论(0) 推荐(0)
摘要:原文:http://tomcat.apache.org/tomcat-7.0-doc/config/host.html Introduction(介绍) The Host element represents a virtual host, which is an association of a 阅读全文
posted @ 2015-12-11 15:04 codeplayplus 阅读(497) 评论(0) 推荐(0)
摘要:警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:ServletPro' did not find a match 阅读全文
posted @ 2015-10-20 10:31 codeplayplus 阅读(1705) 评论(0) 推荐(0)
摘要:原文:http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html Introduction(介绍) Deployment is the term used for the process of installing a web applic 阅读全文
posted @ 2015-10-18 12:39 codeplayplus 阅读(997) 评论(0) 推荐(0)
摘要:启动tomcat,在浏览器中输入http://localhost:8080/web_kevin/hello.html,发生的事情如下: 1.浏览器解析主机名,即解析localhost。浏览器首先会到本地的hosts(路径为C:\Windows\System32\drivers\etc)文件中查询有没 阅读全文
posted @ 2015-10-17 21:27 codeplayplus 阅读(789) 评论(0) 推荐(0)
摘要:首先我们需要配置一下host文件,路径为C:\Windows\System32\drivers\etc\hosts,该文件是ip地址和域名的映射文件,在该文件中添加如下代码: 127.0.0.1 www.kevin.com 这样当我们在浏览器中输入http://www.kevin.com时,找到的主 阅读全文
posted @ 2015-09-19 19:55 codeplayplus 阅读(651) 评论(0) 推荐(0)
摘要:方式一:配置server.xml文件 配置虚拟目录要在tomcat的conf目录下的server.xml的<Host>节点添加如下代码: 其中各参数的含义如下: 配置的虚拟目录中的文件如下: 启动tomcat,则浏览器中输入http://localhost:8080/web_virtual_dire 阅读全文
posted @ 2015-09-19 19:49 codeplayplus 阅读(10920) 评论(0) 推荐(1)