And I also use Cypal Studio to create a project.
On 6 sep, 18:09, Yasin koyuncu <[EMAIL PROTECTED]> wrote:
> I always use GWT shell to test my application.And yes I get those GWT
> browsers.
> And I had never had a problem with uploading a filebefore in GWT. Now
> I just don't get it.
> Maybe this has something to do with the port GWT use.
> My port is 8888. Maybe I shud change it to 8080. Like 6 months ago
> everything was just fine
> but now it just doesn't work.
>
> On 6 sep, 07:52, Folke <[EMAIL PROTECTED]> wrote:
>
> > Forgive me if these questions bother you but I have to ask.
> > Do you open your HTML files over HTTP (http://localhost) or locally
> > (file:///...)?
> > Do you use the GWT shell or do you compile and deploy your files to
> > your own server?
> > If it's the former do you use the browser that the GWT shell opens for
> > you?
>
> > I've never used GWT under Windows but GWT must have put a file name
> > YourApp-shell.bat or something like that in your project folder if you
> > used the projectCreater. When you run that file the GWT shell will
> > open two windows, a log window and--after a few seconds--a browser.
> > The browser automatically loads the location of your module and will
> > then show you your file upload form. And that doesn't work?
>
> > On Sep 6, 6:59 am, Yasin koyuncu <[EMAIL PROTECTED]> wrote:
>
> > > Btw, When I change the Service name in setAction method to something
> > > else(non existing service)
> > > It doesnt even give an error. Isn't that strange? So I think it has
> > > one explanation. This submit() method does
> > > not actually use any service at all. Thats the only explanation I can
> > > think of right now.
>
> > > On 6 sep, 06:53, Yasin koyuncu <[EMAIL PROTECTED]> wrote:
>
> > > > I tried everything you said but still the same. I don't get any error
> > > > message at all.
> > > > So submit seems to work. But I never get response from the server
> > > > side. Besides
> > > > I even tried to send a normal text message to the server without file.
> > > > And it is all the
> > > > same problem. It's really hopeless I think:( Any other suggestions?
>
> > > > On 6 sep, 05:56, Folke <[EMAIL PROTECTED]> wrote:
>
> > > > > 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
-~----------~----~----~----~------~----~------~--~---