Hi Supriya,
I'm not completely sure what you mean by whether an application needs to
access client and server classes in web mode, but I think your question is
where the separation is between your GWT client code and your server-side
Java code in the deployed web environment.

As you might have imagined it, the GWT compiler generates JavaScript, HTML
and applies any CSS rules you've used from your GWT client code. In web
mode, these are the resources that you need to deploy to serve the client
browser to load up your application. The server-side code must be deployed
on the web server as well but is uniquely run on the server-side. To
properly deploy your server-side code you'll need to include the compiled
.class files as well as any JARs containing the binary for other libraries
you are using.

As for the problem you are facing with the 404 response when trying to
upload a file to the File Upload Servlet, it seems very likely to be that
the path you're uploading to isn't the same as the one you've mapped to your
File Upload servlet in your web.xml file. Double-check to see where the
request is going in the file upload (a number of different HTTP traffic
watchers are available and should help in this regard) and match the patch
to the one you have defined in your web.xml file.

Hope that helps,
-Sumit Chandel

On Fri, Sep 5, 2008 at 2:41 AM, Supriya Aggarwal
<[EMAIL PROTECTED]>wrote:

>
> Hey thanks a lot for replying! But i wanted to clarify that in web mode do
> we need to access client and server classes or it is managed just by all the
> generated html and css??
>
>
> -Supriya
>
>
> On Tue, Sep 2, 2008 at 9:42 AM, Ron Lawrence <[EMAIL PROTECTED]>wrote:
>
>>
>> I am using gwt 1.4.62, and the approach of overriding 'service' is
>> working great for my RPC servlet. I am uploading csv files without any
>> issue.  From the stack trace, it looks like you are handling the
>> upload from the "doPost" method rather than from "service". Maybe that
>> is the difference.
>>
>> On Aug 31, 9:53 pm, Madz <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I try your code and it give me this errors when I hit the upload
>> > button.
>>
>>
>>
>
> >
>

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