Could you please post a client side, server side and web.xml here. Would help a lot.
France On Sep 30, 8:49 pm, abhiram wuntakal <[email protected]> wrote: > Hi Thomas. Thanks a lot for that. It is working fine now... > > regards, > Abhiram > > On Wed, Sep 30, 2009 at 3:29 PM, Thomas Broyer <[email protected]> wrote: > > > On 30 sep, 11:50, abhiram wuntakal <[email protected]> wrote: > > > Hi Eric, > > > > Thanks for that. But I had a similar piece of code earlier, but I had > > > *form.setAction(GWT.getModuleBaseURL() > > > +"/UploadServlet"); *instead of *form.setAction(GWT.getHostPageBaseURL() > > + > > > "UploadServlet"); > > > > *I was getting the error "The requested resource > > > (/GWTFileUpload/UploadServlet) is not available." This is the same error > > > which I am getting when I replaced my setAction with the line of code > > which > > > you suggested. Not sure what is the problem. Everything seems to be fine. > > > > You have any clue about this? > > > Have you included the servlet and servlet-mapping in your war/WEB-INF/ > > web.xml? if so, it is relative to getHostPageBaseURL() (well, depends > > if your host page is in a subfolder or not, but generally it's not the > > case) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
