It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt on authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt on authentication" Watch "Doubt on authentication" New topic

Doubt on authentication

smitha nair

Joined: Feb 28, 2005
Posts: 2
In my tomcat userrs file:-
<role name="Guest"/>
<role name="Member"/>
<role name="Admin"/>
<user name="Bill" password="member" roles="Member"/>
<user name="sham" password="admin" roles="Admin,Guest"/>
<user name="mini" password="guest" roles="Guest"/>
In web.xml:-
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="2.4">
when i request this source which used post method.i get the custom form atuhentication page ,but when i give username and password it is not recognizing and shows error page instead of going to the resource(servlet).
please someone tell what is the problem..
I agree. Here's the link:
subject: Doubt on authentication
It's not a secret anymore!