I admit I feel a little silly asking this, because I'm almost positive this
is a sort of baby'a question out here, but I'm trying to find out how to use
Tomcat for my servlet engine for IIS. I hear a lot of stuff about mod_jk and
things flying around, but I've really been ignoring it on the mailin
Problem solved. It had to do with me not setting the domain on my cookie
before clearing it. Sorry for the useless post.
-KSH
Hmm, I'm honestly not positive whether this is a problem with Tomcat, or
something more basic than that...
I've got this servlet, let's say I'm just testing cookie-setting and
-clearing capabilities. When the servlet is invoked from a form, I set two
cookies, with -1 MaxAge. Later, if I call it a
Forget the last question. I'm finding that I'm rising to new levels of
stupidity. :)
All right, I think I figured it out, and it seems a little strange. I was
checking to see what the container for my valve was, in the
_constructor_...the constructor is getting called before any of the
heirarchy tree is built, it seems. Does Catalina load up components and run
constructors in-orde
It extends ValveBase, which should implicitly make it implement Contained, I
think? I just tried explicitly Contained as well, but it didn't make any
difference. It still has a null container. I'm on Win 2000, running Tomcat
standalone, by the way.
-KSH
-Original Message-
From: Remy Mauch
Oh, WOW. It did work, and I didn't even have to modify Catalina's startup
classpath. I had tried putting the class under common\lib and server\lib,
but I didn't know that common\classes would work. But now I've got another
problem...
Again, I have this barebones valve class I wrote, and I've got
I was trying to develop my own valve to plug into Catalina, but
running into some problems. I wrote up a little class that implements Valve
and has empty code for getInfo() and invoke(). I put it in its own package
called valvetest, compiled it just fine, put that folder
with the class in