request.getRemoteUser();
>- --- Original Message --- -
>From: "Ramu, Vinod" <[EMAIL PROTECTED]>
>To:
>Sent: Wed, 20 Apr 2005 10:16:36
>
>Hi All,
>
>Could any one of you please let me know how to get
>the username?
>
>For example, let's assume that I use BASIC
>authentication to au
I had similar problems, and was forced to revert back to Tomcat 5.0.x.
Are you using HTTP or Form-based authentication to get the user
credentials?
On Tue, 2005-03-08 at 11:57 -0700, Richard Mixon (qwest) wrote:
> Has anything changed with the way that JDBCReal handles connection
> timeouts in T
On Sun, 2005-03-06 at 20:47 -0500, Darren Govoni wrote:
> Thanks Chuck. This approach works better, although I would think
> regardless of the auth form, the redirect to error
> page would be independent.
>
> Any idea how to do FORM based auth from a Java client?
>
> I was
Thanks Chuck. This approach works better, although I would think
regardless of the auth form, the redirect to error
page would be independent.
Any idea how to do FORM based auth from a Java client?
I was using Basic like this:
On Sun, 2005-03-06 at 17:04 -0800, Chuck Williams wrote:
> Dar
s not right either!
I only want it to forward to on a code 401 _when the login
attempt fails_ and it should prompt the user for that, which it doesn't.
:(
Darren
On Sun, 2005-03-06 at 17:10 -0500, Darren Govoni wrote:
> Thanks for the response.
>
> I tried many variations. Nothing wo
in.jsp
On Sun, 2005-03-06 at 09:36 -0800, Chuck Williams wrote:
> Darren Govoni writes (3/6/2005 7:16 AM):
>
> >Hi,
> > I tried adding.
> >
> >
> > 401
> > /error.jsp?type=401
> >
> >
> >to my web.xml page (it was in th
Try this. I used it for JNLP, but it should work for zip. Just
replace .jnlp with .zip
String fileName = request.getServletPath();
fileName = fileName.substring(fileName.lastIndexOf("/") + 1);
fileName = fileName.substring(0, fileName.indexOf(".")) + ".jnlp";
response.addHeader("Content-Dispositio
Hi,
I tried adding.
401
/error.jsp?type=401
to my web.xml page (it was in the proper location, etc.) but my server still
produces the default error
page. When I tried on my earlier 5.0.25 tomcat, it wouldn't even bring up my
resources, which was weird.
Anyway, I tried various codes and
nit() - you are out of luck.
>
> If you need to load resources (plain old files) - you can use
> ServletContext.getResourceAsStream()
>
> -Tim
>
> Darren Govoni wrote:
> > Hi,
> > I wasn't able to do a full text search of archive message bodies on
> >
Hi,
I wasn't able to do a full text search of archive message bodies on
this, so pardons if its old problem. I have a servlet that I designate
to load-on-startup, but that servlet calls a class that needs to access
the tomcat server to get resources. It just hangs because the server is
not ready
10 matches
Mail list logo