Friday, April 29, 2011

Trying to send image to server

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: java.lang.ClassNotFoundException:
umd.hci.greetingcardmaker.client.Email
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:
352)
at
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:
337)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
com.google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
700)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:290)
... 22 more


Email is my defined client side class.


Thanks
Sayali

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment