----- Original Message ----- From: "maux" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, June 04, 2008 4:20 PM
Subject: Something like a filter



Hi,

I would like to know if there is something that I can configure to an
application  that force the application to execute that thing before it
executes. I mean I need something that does more or less the same that a
filter but without using the class filter.

I need to configure some applications to throw an applet before the
application executes. And depends in one of the return applet parameter,
allow or deny the access to the application.

Thanks in advance.

Its not your servlet, is that right?
I'm just going to guess what you asking

Applet ----------- (Guard Servlet --- Forward the Request) ------ (Original Servlet)

So in your guard servlet... you can reply to the applet or let it through to the Original servlet. If it is your servlet, then its just logic in your servlet... check the params, do something, or not do it.

Then you'll have to assemble a new webapp and bring in the original servlet as a lib, make a new web xml file and perform other tricks that pirates do ;) Or try dispatch across webapps... but there are other problems if you try that.... its better if its all in one new webapp.

Something like that I think.

Maux... its very hard to understand you... its ok, my spanish sucks as well ;)

---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to