tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Kedar Choudary)
Subject RE: How to intialize locals before... ?
Date Mon, 25 Sep 2000 10:13:20 GMT

You can implement your own RequestInterceptor.
You can derive your RequestInterceptor from from
Override the method, beforeBody. Call super.beforeBody() and then do your
own custom initialization.
Modify server.xml, replace org.apache.tomcat.Request.SimpleMapper with name
of the RequestInterceptor you have written.


-----Original Message-----
From: Arthur Farmer []
Sent: Friday, September 22, 2000 12:40 PM
To: Tomcat-User-Mailinglist
Subject: How to intialize locals before... ?


I got the following scenario:

A (our own intranet-) server internal request is sent to a User-Servlet on
built-in webserver (Tomcat). Before this request gets to the User-Servlet it
should be intercepted by another Servlet (or something alike), which
our Server Api (Java),does the Session Tracking and passes the request on to
the User-Servlet afterwards.
So the User and User-Servlet don't have to take into consideration all the
internal Server-Api crap, it should be already there, ready for usage.

How can I do this?
Can anybody help me?
Has anybody tried this already?

Many Thanx

View raw message