Hi Ruchira,

Thanks that works. would you please explain what this URL is?  I was under
the impression that we should point to the server which is at
http://localhost:9763/gagdet-test <http://localhost:9763/portal>.



On Wed, Apr 30, 2014 at 11:44 PM, Ruchira Wageesha <[email protected]> wrote:

> 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 <[email protected]> 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: [email protected] <[email protected]>,   blog:
> ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>



-- 
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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to