-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vitale,
Christopher Vitale wrote: > I'd like to create a filter very, very early in the processing pipeline. > I'm running tomcat 5.5.23 with jre 1.5.0. If a request comes in looking > like this: > > POST /path;jsessionid=xxxxxxxx HTTP/1.1 > cookie: JSESSIONID=xxxxxxxx > ..... > > a=b&e=f > > I'd like to manipulate this request before the jsessionid has been stripped > in the first line. I even want to preserve the order of the values in the > content body. Hmm... if you are using a simple servlet, then you ought to be able to get the cookie info from the URL like this: request.getQueryString I haven't tried it, so it's possible that the session valve removes, but that seems unlikely. Also, if you haven't called request.getParameter*, then you ought to be able to call request.getInputStream or request.getWriter and read the POST values yourself. Any reason why you need this information? I'm just curious... - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGk9rl9CaO5/Lv0PARAsYrAJ4jISO5YO/zaNYol5hepG7gKpU8/wCfVD1V N9rcFlEEw11O5POpS5jLzoQ= =b3zW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]