随笔分类 - Tomcat
摘要:原文:http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html Introduction(介绍) Tomcat provides a JNDI InitialContext implementation instance fo
阅读全文
摘要:原文:http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Resource_Definitions The Context Container(Context容器) Introduction(介绍) The description
阅读全文
摘要:原文: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
阅读全文
摘要:警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:ServletPro' did not find a match
阅读全文
摘要:原文: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
阅读全文
摘要:启动tomcat,在浏览器中输入http://localhost:8080/web_kevin/hello.html,发生的事情如下: 1.浏览器解析主机名,即解析localhost。浏览器首先会到本地的hosts(路径为C:\Windows\System32\drivers\etc)文件中查询有没
阅读全文
摘要:首先我们需要配置一下host文件,路径为C:\Windows\System32\drivers\etc\hosts,该文件是ip地址和域名的映射文件,在该文件中添加如下代码: 127.0.0.1 www.kevin.com 这样当我们在浏览器中输入http://www.kevin.com时,找到的主
阅读全文
摘要:方式一:配置server.xml文件 配置虚拟目录要在tomcat的conf目录下的server.xml的<Host>节点添加如下代码: 其中各参数的含义如下: 配置的虚拟目录中的文件如下: 启动tomcat,则浏览器中输入http://localhost:8080/web_virtual_dire
阅读全文

浙公网安备 33010602011771号