Thanks David, that helps. Something seem to go wrong for me though. I guess my question was not sufficiently exact.
The data is posted as "application/xml" and the servlet consumes it using request.getReader().read(...) The thing is that when the authentication process completes and redirects the original post to the servlet, the request.getReader().read(...) immediately returns -1. The data is in the buffer alright, but the pointer into the buffer is not positioned at the beginning. I have tried adding a reset but that does not seem to help. Any thoughts? Thanks! Peter David Delbecq-2 wrote: > > They are automatically saved by form authentification system and > restored after form authentification. Your servlet won't be able to make > the difference between a direct hit and a hit with post restored after > form authentification. > > Please note, however, that the size of post request saved by tomcat is > limited by default to 4K. If it's bigger, your servlet will get an empty > request. To increase that size, go to Http connector configuration of > tomcat, and change or set the maxSavePostSize. > > http://tomcat.apache.org/tomcat-5.5-doc/config/http.html > > Regards, > Delbecq David > > Op zondag 28-10-2007 om 02:41 uur [tijdzone -0700], schreef Peter > Coppens: >> Hello, >> >> When a user posts data to a servlet after the session has expired >> (timeout) >> tomcat automatically redirects to my login page. After successful login, >> tomcat will redirect to the original request. >> >> I am looking for way to access the originally posted data when it >> 'arrives' >> in the servlet (after tomcat has redirected after the login). >> >> Any guidance or pointers would be most warmly welcomed! >> >> Thanks, >> >> Peter >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Where-is-the-POSTED-data-on-login-redirect--tf4706256.html#a13456772 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]