File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes JSNI in cross-site implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "JSNI in cross-site implementation" Watch "JSNI in cross-site implementation" New topic
Author

JSNI in cross-site implementation

Radhika Sr
Greenhorn

Joined: Aug 16, 2011
Posts: 1
Hi,

As described in the GWT toolkit, I am using a JSNI function to convert JSON into a JavaScript Object for cross-site client-server communication. I have the import functions as below. However, when I run the application I get an error as below which I understand is related to the 'native' definition.

Could you please advise on how I may fix this?

Thanks,
radhika

java.lang.UnsatisfiedLinkError: edu.ucdavis.ucdmc.path.mojomapper.controllers.rest.ServiceRestCtr.asArrayOfData(Ljava/lang/String;)Lcom/google/gwt/core/client/JsArray;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSNI in cross-site implementation