views:

34

answers:

0

I used to handle cross-domain scripting in DWR 2.0 by setting the remoting method to ScriptTag through the dwr.engine.setRpcType(dwr.engine.ScriptTag); function and setting some initial parameters for the DWR servlet on the web.xml as described in the remoting options section on the official website.

However, in DWR 3.0, the setRpcType() function has been removed, and cross-domain scripting is not working without it.

How can I set the remoting method to ScriptTag in DWR 3.0? or is there a workaround to allow cross-domain scripting?