1. login-config in web.xml & redirection coderanch.comHi, I have a JSF web application and I use the JAAS mechanism to log in. I have a simple index page which is the first page of the application: |
2. Having problem when using web.xml to provide login system to user. coderanch.comI'm trying to build a login system into my webapps. Below is my web.xml and my tomcat-users.xml. I try to login using "myRole" and "myPassword" but it doesn't work. It keeps showing me the pop-up box until it fails to login and gives me HTTP error 401. I'm using Tomcat 4.1.29. Could somebody please advice? Thanks ---------------------------------------------------------------------------------------- |