You can store the file on the server in a temporary area, returning a key to the UI. Then, when the user is ready to submit the lot, the UI sends the file's key to the server as well as the other data.
The server can then move the file data to a permanent home, or mark it as permanent.
Paul
On Wed, 12 Sep 2018, 10:06 Ousti Driss, <ousti.driss@gmail.com> wrote:
Hey guys,--While browsing on the internet I found a way to upload a file in a gwt app,I managed to reimplement the code and it works just fine using formPanel,It just happens that this file needs to be stored in a mysql database,the problem is before the user selects the file he wants to upload, he needs to pick up two elements from2 combobox,I need those informations so I can build my sql querry, How I can get those fields selected by the userin the upload File servlet?Thanks a lot,
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment