Wilson Thanks
Le Vendredi 19 septembre 2014 15h04, nacer abdellaoui <[email protected]> a écrit : Wilson Thanks Le Vendredi 19 septembre 2014 12h55, Scott Wilson <[email protected]> a écrit : Hi Nacer, Add the origin of the server where the servlet is being hosted to the Widget's config.xml, e.g.: <access origin="http://my.web.server"/> Add the origin to the whitelist for the server side proxy in Wookie by editing the "policies" file: * http://my.web.server ALLOW In your widget's JavaScript, use "proxify()" to get the proxy-enabled version of the servlet url, e.g. var proxied_servlet_url = widget.proxify("http://my.web.server/servlets/example:8080"); Finally use your favoured method for making AJAX requests with the proxied URL. The "Weather" demo widget is a good example to look at for how to do this. S On 19 Sep 2014, at 11:28, nacer abdellaoui wrote: > Hi > > i have a servlet in a tomcat container (listening port = 8080) that i want to > call from a widget runing under wookie runing in a standalone mode. > please any example to do this? > thanks
