Don't fret. This works. Put log() with a nice message at the beginning
of your doPost() to see if doPost() is invoked at all.

protected void doPost(...) {
  log("doPost() contentType="+request.getContentType()+",
contentLength="+request.getContentLength());
  ...
}

When you click on "Submit" this message should appear in your server
log. If it's not there doPost() is not invoked and you have to debug
your client code first. Use GWT.log() inside your listeners.

Btw, GWT.getModuleBaseURL() is needed when you want to use an absolute
path.


On Sep 6, 5:11 am, Yasin koyuncu <[EMAIL PROTECTED]> wrote:
> Thx for reply. I already tried "setAction(GWT.getModuleBaseURL()+"/
> FileUpload")", but nothing chaged.
> Now I will try log() but I 've never done this before. Can you please
> tell me how to do it. I am kinda new to
> this. Btw I am now testing to get a response from the server side with
> this :
>
> response.getWriter().write("File uploaded successfully.");
>
> But still I get nothing. I tried this on older versions of GWT. I
> thought first maybe this has something to do with
> Windows and I tried it on Linux to see what happens. But it is still
> the same. I don't know whats wrong. I don't even
> get any error message so I can't really know what the heck is going
> on. This file uploading is important for me. And I
>  am beginning to loose my hope :(.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to