thanks Guo, I will try it , although I think this method is difficult to me.


On Mon, Dec 28, 2009 at 12:16 AM, Guo Du <mrdu...@gmail.com> wrote:

> On Sun, Dec 27, 2009 at 12:56 PM, tommy <bit...@gmail.com> wrote:
> > thanks your reply. But if i get the reference , i cant get uri of static
> resources which is included other bundle.
> > i mean if i use the reference to register Resources,  it not worked.
> It's up to your HttpContext implementation to deal with resource
> loading of static resource.
>
> One possible way is to pass a bundle reference when you call
> HttpContext.getResource() with resource url prefix such as
> bundle:15:/foo/bar.html, then your HttpContext implementation will
> know where to get the resource.
>
> -Guo
>

Reply via email to