How do I retrieve localized messages on server side? I tried the same
way as client side but I got following exception

Caused by: java.lang.UnsupportedOperationException: ERROR:
GWT.create() is only usable in client code!  It cannot be called, for
example, from server code.  If you are running a unit test, check that
your test case extends GWTTestCase and that GWT.create() is not called
from within an initializer or constructor.

looking at this exception it seems that I cannot use GWT.create() on
server side. So then how can retrieve localized messages on server
side if I want to? or it is not possible with the current sdk?

Thanks,
-Pandurang.

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