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
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
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
: 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
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
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
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
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
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