zoukankan      html  css  js  c++  java
  • 配置tomcat通过客户端访问

    1:在tomcat    conf/tomcat-users.xml 文件里  配置用户名和密码,以及访问方式

        For example, to add the manager-gui role to a user named     tomcat with a password of s3cret, add the following to the    config file listed above.   

    <role rolename="manager-gui"/>
    <user username="tomcat" password="s3cret" roles="manager-gui"/>
    

        Note that for Tomcat 7 onwards, the roles required to use the manager    application were changed from the single manager role to the    following four roles. You will need to assign the role(s) required for    the functionality you wish to access.   

    • manager-gui - allows access to the HTML GUI and the status          pages   //可以通过网页访问 ,rolename=manager-gui
    • manager-script - allows access to the text interface and the          status pages
    • manager-jmx - allows access to the JMX proxy and the status          pages
    • manager-status - allows access to the status pages only

    2:通过用户名和密码访问,可以通过html发布项目

      

  • 相关阅读:
    Git远程库
    Git的使用
    如何利用IO流复制文件
    Lambda表达式
    Lambda表达式的标准格式
    线程池的使用步骤
    解决线程安全的三个方法
    多线程
    位运算
    如何用javadoc生成java帮助文档
  • 原文地址:https://www.cnblogs.com/liyafei/p/8317490.html
Copyright © 2011-2022 走看看