在安装tomcat的时候,没有设置,现在访问 http://localhost:8080/manager/html,要密码
2014-03-07 21:29
561 查看
在安装tomcat的时候,直接解压免安装的,现在访问
http://localhost:8080/manager/html,要密码,提示:http://localhost:8080 请求用户名和密码。信息为: “Tomcat Manager Application”
解决方法:
在 \Tomcat 6.0\conf 目录下的 tomcat-users.xml文件件中可以设置。
在<tomcat-users></tomcat-users>之间添加代码<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>就可以设置密码。
http://localhost:8080/manager/html,要密码,提示:http://localhost:8080 请求用户名和密码。信息为: “Tomcat Manager Application”
解决方法:
在 \Tomcat 6.0\conf 目录下的 tomcat-users.xml文件件中可以设置。
在<tomcat-users></tomcat-users>之间添加代码<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>就可以设置密码。
相关文章推荐
- sgu 438 The Glorious Karlutka River =) 网络流 动态流
- javaweb之HttpServletResponse响应头
- HttpClient post中文乱码解决
- 网络程序中经常用到的几个函数
- LibPcap安装与使用简介
- <meta http-equiv=名称 content=值>
- tcp_timestamps tcp_tw_recycle引起的服务器连接不上问题
- android中http的get,post方法代码
- Android入门:用HttpClient模拟HTTP的GET和POST请求
- C#中解析json以及网络请求
- HttpContext.Current
- [转]Wireshark基本介绍和学习TCP三次握手
- 关于双网卡双宽带Http及Socks代理的配置
- HttpClient使用小结
- socket http的理解
- 理解HTTP幂等性
- 如何用STUN协议搭建跨网络监控环境
- Android网络通信框架Volley的学习笔记
- 【redhat5.5】linux的LDAP认证服务器的配置及客户端pam网络验证实例
- android 多线程环境下 HttpURLConnection getResponseCode 偶尔获取到的是 -1