Your url should be http://<privateIP>:9763/*gadgets*/ifr?url=http://<
privateIP>:9763/gadget-test/gadget.xml

/Ruchira




On Thu, May 1, 2014 at 6:08 AM, Shani Ranasinghe <sh...@wso2.com> wrote:

>
> Hi,
>
> I have a gadget in the UES server at the location
> http://localhost:9763/gadget-test/gadget.xml. When I use this in the
> browser I can see the Gadget XML.
>
> The portal is started at  UES Portal URL : http://localhost:9763/portal.
> And when I check the URL through the Management console of the UES the URL
> that it gives is http://<private IP>:9763/gadget-test.
>
> I have added the following lines to my webapp page, which is a java
> application and a .jsp page.
>
> <iframe id="gadget-3"
>         src="http://<privateIP>:9763/gadget-test/ifr?url=http://
> <privateIP>:9763/gadget-test/gadget.xml">
> </iframe>
>
> I was not able to view the I frame in the page, and it prompted a 404
> resource
> (http://<private IP>:9763/gadget-test/ifr) not found.
>
> Please note that the private IP's at instances are the same.
>
>
> --
> Thanks and Regards
> *, Shani Ranasinghe*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>



-- 

*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com <http://wso2.com>*

*email: ruch...@wso2.com <ruch...@wso2.com>,   blog:
ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
mobile: +94 77 5493444*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to