Re: Action before doGet / doPost??

2002-08-16 Thread Craig R. McClanahan
On Fri, 16 Aug 2002, Nikola Milutinovic wrote: > Date: Fri, 16 Aug 2002 07:18:38 +0200 > From: Nikola Milutinovic <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]>, > Josh <[EMAIL PROT

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
> I am using tomcat's session object, but i store a magic string in the > session that i need to decode to see if it's a valid magic string and > populate a LoginSession object if they're logged in... i was just hoping to > do it without having some code at the top of every page, but it's not

Re: Action before doGet / doPost??

2002-08-15 Thread Josh
rs List" <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 3:38 PM Subject: Re: Action before doGet / doPost?? > Have you thought about using a Filter? filters can do pre and post > processing on requests/responses and you can map it to any set of servlets > or jsp's you want

Re: Action before doGet / doPost??

2002-08-15 Thread Jacob Kjome
gs, proper dumplings when they're properly > cooked to perfection, proper dumplings, should not bounce." > >- Original Message - >From: "Nikola Milutinovic" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]>;

Re: Action before doGet / doPost??

2002-08-15 Thread Josh
sers List" <[EMAIL PROTECTED]>; "Josh" <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 3:18 PM Subject: Re: Action before doGet / doPost?? > > Hi, > > I'm wondering if there's a way to get some code called before > > doGet/doPost? I w

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
> Hi, > I'm wondering if there's a way to get some code called before > doGet/doPost? I want to build a superclass for my JSP pages that checks for > some login stuff and redirects if it's not found, without having to put the > detect code in every page. That is a job for Servlet Contai

Action before doGet / doPost??

2002-08-15 Thread Josh
Hi, I'm wondering if there's a way to get some code called before doGet/doPost? I want to build a superclass for my JSP pages that checks for some login stuff and redirects if it's not found, without having to put the detect code in every page. -Josh "Rimmer, real dumplings, proper dumplings