I don't know if you've considered this, but why not just make a Filter (ala Servlet 2.3) instead of a valve? They are more "portable" to other containers and should have less quirky behavior than you see now with valves. I use a filter to do a very similar operation where I check the session for certain values and load it up with other things to send "downstream" to the target servlet.
russ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>