Hi All,
I've implemented a custom realm and a custom servlet filter for my webapp.
The idea
is, I want the filter to handle incoming requests for ALL resources within
the webapp while the realm is only going to handle several resources within
the webapp.
The problem is, I need the filter to be
If you need an example how to modify the response, see
http://java.sun.com/developer/EJTechTips/2002/tt0919.html#1.
If you need a good lib that let you modify your HTML, e.g. inserting a
hidden field into a form, see http://freshmeat.net/projects/jerichohtml/.
Michael
Hello,
I am having trouble with a filter. Code below.
What I am trying to achieve is as follows: We have a current web-site, with a
lot of jsp pages, etc. We are moving the code to a load-balanced environment,
and I would like to put a hidden IP address into each display page. This way
I can
Hi Scott.
Your filter should probably set an attribute in the request or perhaps the
session, that your jsp could display, rather than writing to the response's
writer object. By opening up the writer and writing to it you are effectively
setting the response to the request to be the contents of
Peter, I don't think Scott wants to modify every JSP in his
application. Sounds like he has a lot!
Scott, the reason your filter isn't working is because the response
from your servlets is getting sent to the client before your filter
has a chance to add it's text to it (using the PrintWriter).
: Filter question in 4.1.18, can my filter get unchunked and
unzipped requests?
Donie Kelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all
I've been reading up on filters to see if I can find a solution to an
annoying problem. I can't find it so I'm looking here.
I have
Hi all
I've been reading up on filters to see if I can find a solution to an
annoying problem. I can't find it so I'm looking here.
I have this http filter that messes with the http request and response
before it enters and leaves tomcat. The problem is that this filter works at
a fairly
Donie Kelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi all
I've been reading up on filters to see if I can find a solution to an
annoying problem. I can't find it so I'm looking here.
I have this http filter that messes with the http request and response
before it
This question is a bit OT, since it deals more with HTTP than tomcat (I
think), but maybe somebody can help.
I'm (still) working with setting up filters in Tomcat, and am seeing some
erratic behavior, which leads me to ask this question :
Assuming I have a URL of
Duane,
This is a pretty crazy set of requirements you're working with here --
I'll trust there's a good reason for it and just stick to the question. ;)
At 11:34 AM 2/16/2004, you wrote:
Assuming I have a URL of
http://www.mysite.com/myservlet.jsp?myvar=1yourvar=2
Your URL is:
Hi
I am trying to make a filter that will redirect all request that don't have a
autheticated attribute set, to be redirected to the login page.
Somehow my filter does not work properly even though it still is a very basic
implementation that
does nothing besides a few system out
configured.
*/
Charlie
-Original Message-
From: Abid Ali Teepo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 3:18 AM
To: [EMAIL PROTECTED]
Subject: A simple filter question ..
Hi
I am trying to make a filter that will redirect all request
that don't have
Thanks a lot for your help!
Borislav
-Original Message-
From: Ricardo Gladwell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 5:25 AM
To: [EMAIL PROTECTED]
Subject: RE: ISAPI filter question
The ISAPI filter is not responsible for starting Tomcat: it merely handles
: Borislav Iordanov [mailto:[EMAIL PROTECTED]]
Sent: 05 April 2001 02:49
To: Tomcat User List
Subject: ISAPI filter question
Hi,
I've used tomcat for a while, starting it from the command line. Now, I've
configured the ISAPI filter for IIS 5.0 under Windoz 2000 Professional and
it works
Hi,
I've used tomcat for a while, starting it from the command line. Now, I've
configured the ISAPI filter for IIS 5.0 under Windoz 2000 Professional and
it works fine also. Except, I'm wondering why do I have to start tomcat from
the shell as usual? Why doesn't the ISAPI filter start it? What
15 matches
Mail list logo