I use Apache 1.3.19 Tomcat 4.0.1 via mod_jk on Linux platform.
I try to do this in a servlet :
String authHeader = request.getHeader(Authorization);
if (authHeader != null) {
AuthInternaute ai = new AuthInternaute(authHeader);
String username = ai.getUsername();
String password =
response.setHeader(WWW-Authenticate,BASIC
can you send the full set of headers that you get back ?
wget -s
will do this ..
D
mh wrote:
I use Apache 1.3.19 Tomcat 4.0.1 via mod_jk on Linux platform.
I try to do this in a servlet :
String authHeader = request.getHeader(Authorization
connect to the tomcat 8080 port and
do the same thing ?
D
mh wrote:
--16:17:44-- http://dev.cerib.reflexe.fr/cerib_BD
= `cerib_BD'
Connexion vers dev.cerib.reflexe.fr:80...Connecté!
requête HTTP transmise, en attente de la réponse...302 Found
2 Date: Thu, 21 Mar 2002 15:17:44
: mh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 4:10 PM
Subject: Apache Tomcat response.setHeader(WWW-Authenticate,BASIC
I use Apache 1.3.19 Tomcat 4.0.1 via mod_jk on Linux platform.
I try to do this in a servlet :
String authHeader = request.getHeader(Authorization
I use Tomcat 4.0.3 + Apache 1.3.14 + Ajp13 connector
I have two virtual host, one in http and the other in https. Two servlets
are used in those virtual host.
I want to do use HttpSession to maintain object information between my two
servlets.
I do this in my first servlet :
Hi,
I look for a version a Tomcat which is stricly
compliant to the Servlets 2.1/JSP 1.0 specifications.
I thought that this was the case for Tomcat 3.0 which
I downloaded, but there are several classes which use
Servlets 2.2/JSP 1.1 features.
I would like to know if it is possible to have a