THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Add the map inside a package that extends "gwt-default"
- Add the "gwt" interceptor to the mapping
- Add a result of type "void" (doesn't do anything)
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <struts> <constant name="struts.enable.DynamicMethodInvocation" value="false" /> <constant name="struts.devMode" value="true" /> <package name="example" extends="gwt-default"> <action name="Hello" class="example.Hello" method="hello"> <interceptor-ref name="gwt"/>* <result type="void"/>* </action> </package> </struts> |
...