I have a proof-of-concept which shows upload/download functionality in
a gwt application. Here's the servlet:
http://code.google.com/p/hellagwt/source/browse/trunk/hellagwt/src/main/java/fr/salvadordiaz/gwt/hellagwt/server/NzbUpload.java

You'll have to add a FormHandler (I think in 1.6 there are 2 separate
handlers for this, but the principle is the same) to wait for the
response of the upload servlet and then call the viexchange from
there, have a look at the code from ly upload view:
http://code.google.com/p/hellagwt/source/browse/trunk/hellagwt/src/main/java/fr/salvadordiaz/gwt/hellagwt/client/views/UploadPanel.java

Hope it helps,

Salvador

On Apr 20, 6:28 am, Arun <arun.r...@gmail.com> wrote:
> Hi,
>
> I am developing an application where i came across a situation and now
> looking for the solution.
>
> Application Discription:
>
> I developing an application which contains two pages,
>
> 1. SubmitDataWidget
> It contains two Textboxes, a FileUpload widget and a Button. On click
> to button i am going to a servlet and passing data through servlet
> (Here i am not using GWT-RPC as it is not supporting file transfering)
>
> 2 LoadTreeWidget
>    once the process of servlet finish i have go to second page, which
> would load a dynamic tree.
>    I have created a widget which is performing this task, It is using
> GWT-RPC.
>
> In general JSP/Servlet/Struts applications we have Response forward/
> sendredirect methods which we use from servlet.
>
> My confusion/delima in this application:
>
> How i should call/response the second widget(LoadTreeWidget) from the
> servlet once servlet finsh it's process?
>
> Thanks in advance for your suggestion
>
> Arun.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to