Re: Trying to send image to server

2011-04-29 Thread Alan Chaney
On 4/29/2011 9:17 AM, Patssay wrote: Hi, Thanks. So I should have the Email class in the shared folder? Yes Also should the module.gwt.xml file be updated? Yes - it should have: it it. But mainly, you need to make sure that your server-side classpath contains the file, because the server

Re: Trying to send image to server

2011-04-29 Thread Patssay
Hi, Thanks. So I should have the Email class in the shared folder? Also should the module.gwt.xml file be updated? Actually I am trying to implement the functionality of sending email from my gwt application. I have the functionality up and running on the server. All it needs is the email address

Re: Trying to send image to server

2011-04-29 Thread Alan Chaney
You need to make sure that your client class is in the *server's* classpath. The exception below indicates that its not. I make it a practice to have a 'shared' package hierarchy parallel to my client packages and ensure that: A. shared is declared in the module gwt.xml file B. shared is al

Trying to send image to server

2011-04-29 Thread Patssay
Hi, I am trying to send an image from client to server. I have used ImageResources on client side to load images. but now i want to send the image to server side and send mail from the server side? I tried creating class on client side and made it seriablizable. but it throws errors. aused by: j