Looks like you're right.
Thanks,
Mike
>From: Kevin Seguin
>Subject: RE: servlet authentication
>Date: Tue, 02 Jul 2002 02:39:06 -0700
>
>i could be wrong, but i think once you call
sendError(), the response is committed and
>you cannot set any more headers. try rev
Error(response.SC_UNAUTHORIZED);
> -Original Message-
> From: Michael Bergknoff [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 9:02 PM
> To: [EMAIL PROTECTED]
> Subject: servlet authentication
>
>
> To test servlet-based authentication, I h
To test servlet-based authentication, I have a two
line servlet.
response.sendError(response.SC_UNAUTHORIZED);
response.setHeader("WWW-Authenticate", "BASIC
realm=\"test\"");
Here is the output I get:
$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape chara
hi all
please could someone give me hints on using jdbc [specially jdbcRleam]
and servlets or JSP for user authentication to lookup user details to
create a connection with.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit