On Fri, 21 Jan 2005 22:03:24 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> Perhaps nowadays it is commonplace for people to make such posts, but
> it has not always been the case - and it really should not be done. I
> didn't invent the custom, I just follow it.
Besides being a little overwrough
and related (the dev list), and a third (new) list for discussing
> > development strategies related to Struts? Just thinking out loud. I
> > think it is somewhat logical to think that the list of lists might grow
> > as the product evolves . . .
> >
> > Erik
> >
&g
developing Struts
> and related (the dev list), and a third (new) list for discussing
> development strategies related to Struts? Just thinking out loud. I
> think it is somewhat logical to think that the list of lists might grow
> as the product evolves . . .
>
> Erik
>
> &
o: Struts Users Mailing List , Dakota
Jack
<[EMAIL PROTECTED]>
cc:
Subject:Re: Session Strategy (here's a filter)
... it is a filter ... notice how it says "implements Filter". The
mapping in web.xml is a dead giveaway too.
I'd love to know how it
ple are just cranky. Putting hte code where it can be searched by
folks is a good thing.
>
>
> Eddie Bush <[EMAIL PROTECTED]>
> 01/20/2005 11:59 PM
> Please respond to "Struts Users Mailing List"
>
>
> To: Struts Users Mailing List , Dakota
>
t;
cc:
Subject:Re: Session Strategy (here's a filter)
... it is a filter ... notice how it says "implements Filter". The
mapping in web.xml is a dead giveaway too.
I'd love to know how it detects session timeouts though. Far as I can
tell it will t
On Thu, 20 Jan 2005 22:59:09 -0600, Eddie Bush <[EMAIL PROTECTED]> wrote:
> ... it is a filter ... notice how it says "implements Filter". The
> mapping in web.xml is a dead giveaway too.
You are right. And you know you are right. I guess that is why you
feel free to be sardonic, although you
... it is a filter ... notice how it says "implements Filter". The
mapping in web.xml is a dead giveaway too.
I'd love to know how it detects session timeouts though. Far as I can
tell it will tell people who have yet to have a session created that
they've timed out. ... first trip around the b
; > " click on the button below to go to
> the"
> > +
> > " login page.");
> >
> > resp.sendRedirect("/schs82/BuildActionResultViewAction.do");
>
> Dakota Jack <[EMAIL PRO
ViewAction.do");
Dakota Jack <[EMAIL PROTECTED]>
01/20/2005 11:07 AM
Please respond to "Struts Users Mailing List"
To: Struts Users Mailing List
cc:
Subject:Re: Session Strategy (here's a filter)
I was looking for a filter that det
;> what he wants.
>>
>> I think Jack is looking for something to run WHEN the session expires,
>> similar to the destroy() method in a plugin that runs when the
>> application
>> stops.
>>
>> Wiebe de Jong
>>
>> -Original Message-
>>
ion
> stops.
>
> Wiebe de Jong
>
> -Original Message-
> From: Amleto Di Salle [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 20, 2005 9:41 AM
> To: 'Struts Users Mailing List'; 'Dakota Jack'
> Subject: R: R: Session Strategy (here
package com.crackwillow.filter;
import java.io.IOException;
import java.io.PrintStream;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletExcepti
: Amleto Di Salle [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 20, 2005 9:41 AM
To: 'Struts Users Mailing List'; 'Dakota Jack'
Subject: R: R: Session Strategy (here's a filter)
Hello Jack,
you detect a session expiration using the getSession( false ) method. If
you use
riginale-
> Da: Dakota Jack [mailto:[EMAIL PROTECTED]
> Inviato: giovedì 20 gennaio 2005 18.03
> A: Amleto Di Salle
> Cc: Struts Users Mailing List
> Oggetto: Re: R: Session Strategy (here's a filter)
>
>
> Hello, Amleto,
>
> I am not looking to create a t
; >
> >
> > 30
> >
> > 30 are minutes
> >
> > You can set the session-timeout also in the web container (see tomcat
> > documentation).
> >
> > BR
> > /Amleto
> >
> > > -Messaggio originale-
> >
gio originale-
>> > Da: Dakota Jack [mailto:[EMAIL PROTECTED]
>> > Inviato: gioved? 20 gennaio 2005 17.08
>> > A: Struts Users Mailing List
>> > Oggetto: Re: Session Strategy (here's a filter)
>> >
>> >
>> > I was looking for a f
container (see tomcat
> documentation).
>
> BR
> /Amleto
>
> > -Messaggio originale-
> > Da: Dakota Jack [mailto:[EMAIL PROTECTED]
> > Inviato: giovedì 20 gennaio 2005 17.08
> > A: Struts Users Mailing List
> > Oggetto: Re: Session Strategy (here
---
> Da: Dakota Jack [mailto:[EMAIL PROTECTED]
> Inviato: giovedì 20 gennaio 2005 17.08
> A: Struts Users Mailing List
> Oggetto: Re: Session Strategy (here's a filter)
>
>
> I was looking for a filter that detected sessions that had
> expired and rerouted the request
On Thu, 20 Jan 2005 06:53:36 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> I am also too lazy to make a filter! LOL ;-) Anyone have one of
> these in their toolbox they would like to share?
package com.sssc.csr.web.filters;
import java.io.IOException;
import java.util.Iterator;
import java.ut
sition",
> "systemError");
> session.setAttribute("currentActionMessage", "You have
> accessed" +
> " SCHS82.com in a non-authorized way.
> Please" +
> &quo
estroy() {}
}
And this must be added to web.xml
***
AuthenticationFilter
schs82.AuthenticationFilter
AuthenticationFilter
/secure/*
Dakota Jack <[
viato: giovedì 20 gennaio 2005 15.54
> A: Struts Users Mailing List; [EMAIL PROTECTED]
> Oggetto: Re: Session Strategy
>
>
> I am also too lazy to make a filter! LOL ;-) Anyone have
> one of these in their toolbox they would like to share?
>
> Jack
>
>
> On
I am also too lazy to make a filter! LOL ;-) Anyone have one of
these in their toolbox they would like to share?
Jack
On Thu, 20 Jan 2005 12:49:41 +0800, Andrew Hill
<[EMAIL PROTECTED]> wrote:
> Id support the filter suggestion, though for myself I generally do the
> check in the RequestProce
I'm not sure I agree with the point, but I do see where your coming
from. It's debatable I think, but you make a reasonable argument.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Will Stranathan wrote:
Nope - Andrew is right - JSP's are on
Nope - Andrew is right - JSP's are only part of the configuation and
support files in a well-written MVC webapp - it's only TEMPLATE text.
Just like if you send a canned email, I'm sure you keep your email
templates under WEB-INF, right? Well, JSP's are just out.println()
template.
w
On Thu,
That's an interesting view of JSPs. I've always thought of WEB-INF as
configuration and support files only. In that mindset, a JSP wouldn't
fit because it is a piece of the application itself, not configuration
and not a support file, like JARs would be for instance.
In any case, I'm not tryi
Id support the filter suggestion, though for myself I generally do the
check in the RequestProcessor, as Ive usually overrideen it to perform
other evil anyhow, and Im lazy to make a filter.
If you dont keep your JSP under WEB-INF (IMHO thats where they belong
because they are 'code & config' ,
no session) exists. I've done this myself once
or twice. :)
Regards,
David
-Original Message-
From: Jim Douglas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 10:40 PM
To: user@struts.apache.org
Subject: Session Strategy
To all,
I have a web application that sets a sessio
serID object or redirect to a login
page if no such object (or no session) exists. I've done this myself once
or twice. :)
Regards,
David
-Original Message-
From: Jim Douglas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 10:40 PM
To: user@struts.apache.org
Subject: S
To all,
I have a web application that sets a session attribute with userID and a
timeout in the config file that times out after 5 minutes in case the user
walks away.
I am trying to figure out the best strategy to deal with cases where the
user comes back after 5 minutes and clicks on a butto
31 matches
Mail list logo