Sandra Patricia Hunter wrote:

What happens is that when I enter what should be correct username/password
pairs they are not recognized. The value above for the name passwordFile is
not correct so I do not see the page as I should.

Does that help?

Sort of. I mean, I understood the nature of the problem, but wasn't sure if you were getting an exception or compiler error.


Are you sure that it's a matter of reading the init-param? I'd try printing out the value of that init-param from your servlet with code similar to this in doGet():


String name = "passwordFile"; String value = this.getServletConfig( ).getInitParameter(name); PrintWriter out = resp.getWriter(); out.println("<h1>The value of " + name + " is " + value + "</h1>");

This will tell you whether or not it's a problem with your web.xml file or if it's your bidness logic.

Also, not sure if you fully stopped and started Tomcat...


Erik



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to