I have just run a simple test using the latest 4.1.x branch from CVS and I do not see this bug - the data is displayed as expected. This was with tomcat standalone running on port 8080.
There are two explanations for this: 1. There is a bug in 4.1.30 that has been fixed in CVS 2. There is something in your setup (maybe a filter?) that is messing with the input stream Either way, the current TC4 (and TC5 from previous posts) code bases are both OK. Mark > -----Original Message----- > From: j.random.programmer [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 25, 2004 8:12 PM > To: [EMAIL PROTECTED] > Subject: Re: getReader() BUG in tomcat 4.1.30 and beyond ? > > >M.Hockings wrote: > >I use TC5 for my own stuff and WebSphere at work, why > > >would I wish to install the older TC4? My ISP moved > >from TC4 to TC5 a while ago. Your note indicates > >4.1.30 and beyond, so 5.0.25 is a valid test for > >"beyond" is it not? > > Yup. You're right about that. Although I meant 4.1.30 > and anything else upcoming in the 4.1.x series, at > least we now have a data point that the problem does > not exist in 5.0.25. > > You did use POST as the action of your form right ? > > >Are you maybe running some framework (like Struts) > >that may be grabbing the stream before your jsp gets > >control? > > Nope. Straight tomcat. No framework of any kind. > > It gets curiouser and curiouser. Running tomcat > 4.1.30 totally standalone (port 8080) also shows > a similar prolem. The reader does not throw a > InvalidStateException in this mode, however the > stream/reader is empty and the POST'ed data cannot > be printed out in the jsp. > > Note, this problem does not happen with servlets in > either standalone or apache+mod_jk mode. There is > something in the jsp machinery that is doing something > very funky with the request's inputstream. > > Perhaps a jsp optimization gone horribly wrong ? > > Someone (a core programmer maybe) should really try > to fix this because tomcat 4.1.30/jsp is very broken. > > Best regards, > > --j > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]