I've started a new thread because my older post regarding this issue lead me
to think on different lines, than my subject line and i didnt want to
re-edit it and mess with all the following threads.
(http://tapestry.1045711.n5.nabble.com/StreamResponse-onSuccess-does-not-stream-back-data-td4759347.html)
 

So here i go,

I have a form using which a user can upload a file.  The problem is - due to
redirect-after-post (thanks to cqasker) instead of my response file being
streamed back, the page is getting redirected to reload my page once again. 
So when the user clicks submit, instead of receiving the file, the page just
reloads.  I checked all other form submits in my application and this seems
to the default form submit behavior (a 302 redirect), which isnt a problem
in the other pages, because the page reloads with the new data.  But in this
case I want it to just stream back my file.

There is no problem with my streaming code.  I confirmed this by doing a GET
on that url (in onActivate I am just streaming back the file) and the file
downloads.

Any idea how to make the streaming work with a POST operation?









--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/redirect-after-post-messes-with-my-StreamResponse-tp4763647p4763647.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to