DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30193>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30193 enabling enctype="multipart/form-data" causes isTokenValid to fail ------- Additional Comments From [EMAIL PROTECTED] 2004-07-28 01:34 ------- I just tried this with both 1.1 and 1.2.1 and in both cases it WORKSFORME. Maybe you just need to reset your token by calling resetToken(request). In both 1.1 and 1.2.1, a hidden field named org.apache.struts.taglib.html.TOKEN was created in the form. Not sure what you mean about "transation token not being present in request scope". Maybe you're expecting the token to be present as a request attribute, when in fact it is present as a session attribute (after saveToken() and before resetToken()) and as a request parameter (upon submission). I created a couple of actions and a form specifically to test this. The first action called saveToken(request), the form had one field and had enctype="multipart/form-data", and the action that it got submitted to called isTokenValid(request). I got the correct values whenever I submitted/resubmitted. Struts 1.1, Struts 1.2.1, Tomcat 5.0 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
