I'm very new in the Java World, not new developer, and there is a lot of concepts that i'm trying to understand, but is quite dificult. I'm Spanish and it seems to if nobody is working with your plugin(mean no google results ), so if you can help me i will very grateful. Sure that i have not configure my workspace well and the error is ...rpc.InvocationException: Cannot find resource 'Hello.action' in the public path..., your example instead works fine(only a problem with the tools.jar), but your Howtouse is very small for me.
What version of the product are you using? On what operating system? struts2gwtplugin-0.2.1.jar on Win XP.
Thank you
Comment #1
Posted on Oct 8, 2007 by Happy RhinoI am having trouble too, with a brand new project built from scratch in eclipse. Can you send/publish a file that is self contained, ie, only with java/ant dependencies? Your example uses jetty, and altough I was able to run it, I am not familiarized with jetty, so a plain old java proj with an ant script that outputs a WAR file would be great.
Thanks
Comment #2
Posted on Oct 8, 2007 by Happy RhinoI was able to get this on the server log, by switching to DEBUG in log4j properties:
29771 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 29772 [http-8080-1] DEBUG com.opensymphony.xwork2.util.InstantiatingNullHandler - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvid er@6545d2], property=struts] 29772 [http-8080-1] DEBUG com.opensymphony.xwork2.config.ConfigurationManager - Checking ConfigurationProviders for reload. 29773 [http-8080-1] DEBUG com.opensymphony.xwork2.DefaultActionProxy - Creating an DefaultActionProxy for namespace / and action name hello 29774 [http-8080-1] DEBUG com.opensymphony.xwork2.DefaultActionInvocation - No result returned for action mping.sample.server.HelloAction at action - file:/C:/ Java/apache-tomcat-6.0.14/webapps/Test/WEB-INF/classes/struts.xml:11:81
As for the client side, the client only sees an "InvocationTargetException: the call failed on the server..."
Comment #3
Posted on Mar 12, 2008 by Swift Kangaroosomebody were able to use this plugin?
Comment #4
Posted on Feb 10, 2009 by Grumpy LionWhat exactly is the bug you all have encountered? Do you have an existing web application that uses Struts 2 and are you trying to incorporate GWT into your existing Struts 2 project? The instructions provided are detailed enough to explain how to add the Struts2GWTPlugin jar into your existing Struts2 application and use it to receive and respond to Ajax requests made by the GWT client.
Status: Invalid
Labels:
Type-Other
Priority-Medium