Hi all:

I am not sure if the following is a bug or mandated
by the spec, but if it _is_ a bug, it's quite serious:

Tomcat 4.1.30 looses all request data if the jsp that
is called is recompiled on the server side. That is
to say, the recompiled jsp sees an request with no
POST parameters at all !

Here's an example of why this is really bad. (Many
more examples can be thought of)

Suppose I have a jsp, called "foo.jsp" that shows
a form to the user. This form is encapsulated by
a form object stored in the user's HttpSession.

Suppose the user invokes foo.jsp and sees a html 
form (and he fills in a lot of fields).

Now, foo.jsp get's changed on the server (say a
a html spelling mistake was corrected).

Now, the users submits the form (via POST).
The jsp gets recompiled. It loosed the submitted
posted
request data and all parameters are null. The form 
data has been ir-retrievably lost and this 
creates havok on the server side when trying to fill
out objects with session or application scope (that
persists across jsp recompiles).

Best regards,

--j



        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to