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 PROTECTED] Subject: Re: Action before doGet / doPost

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

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 Container

Re: Action before doGet / doPost??

2002-08-15 Thread Josh
: 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 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

Re: Action before doGet / doPost??

2002-08-15 Thread Jacob Kjome
dumplings, should not bounce. - Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users 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

Re: Action before doGet / doPost??

2002-08-15 Thread Josh
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 meaning that all your logic is in a single place and none of the servlets/jsp's

Re: Action before doGet / doPost??

2002-08-15 Thread Nikola Milutinovic
not looking too possible atm... :( Well, I'm not really deep into that stuff, but there are two things you can add/modify: Filters and Authentication mechanisms. Tomcat allows you to define filters that filter requests, they can do your before doGet/doPost action. Since you've opted for non-standard

Re: doGet - doPost

2001-03-28 Thread Bo Xu
Sunil Chandurkar wrote: Hello All.. Though i'm working on servlets from couple of months i'm getting confused between doGet and doPost whenever i'm trying to do Applet-Servlet Communication. My Problem is : On particular event my Applet is sending one string to Servlet and inresponse

doGet - doPost

2001-03-27 Thread Sunil Chandurkar
Hello All.. Though i'm working on servlets from couple of months i'm getting confused between doGet and doPost whenever i'm trying to do Applet-Servlet Communication. My Problem is : On particular event my Applet is sending one string to Servlet and inresponse servlet is sending one