Comment on Tutorial - Creating Users and Passwords with Tomcat using tomcat-users.xml By Emiley J.



Comment Added by : sandeep,p

Comment Added at : 2012-11-22 10:17:07

Comment on Tutorial : Creating Users and Passwords with Tomcat using tomcat-users.xml By Emiley J.
Hi, these are the lines i added after i downloaded the binary distribution.. when i entered this user name and password, its saying 403 access denied ( not authorized to view this page)

<tomcat-users>
<role rolename="admin" />
<role rolename="manager" />
<user name="ad" password="secret-123" roles="admin,manager" />
</tomcat-users>


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Good
View Tutorial          By: Siva Sreekanth at 2013-10-01 16:29:55

2. Nice example.
I got it finally
Thank

View Tutorial          By: Bo at 2015-05-05 06:28:43

3. Controlling Page Navigation in JSF - Static and Dy
View Tutorial          By: chip at 2010-10-07 05:16:14

4. Thanks a lot. In a very Simple way you explained.<
View Tutorial          By: Shoaeb uddin at 2012-01-13 18:53:45

5. It's really helpful , thanks a lot
View Tutorial          By: Avijit at 2009-09-08 05:18:39

6. really a gud work for xml parsing readers
View Tutorial          By: shreya at 2010-07-02 02:35:04

7. Hibernate with annotations and QBE api reduced our
View Tutorial          By: Andrew at 2011-04-29 10:34:26

8. It's a good article.Would you please elaborate th
View Tutorial          By: Chandra at 2015-10-05 12:24:24

9. useful for me
View Tutorial          By: ganga at 2010-10-06 00:51:51

10. This works with inserts but it is very slow for lo
View Tutorial          By: Antonio Pereira at 2011-02-04 08:54:45