@Daniel

Thanks!

I'l try on this and get back to you if i have any doubt.

Thanks once again!

On Nov 11, 7:43 pm, Daniel Drozdzewski <[email protected]>
wrote:
> On 11 November 2011 14:23, Sunil Mishra <[email protected]> wrote:
>
> > @skink and @Dainel
>
> > According to me URL translation is like follows
>
> > 1. Read the html file before sending
> > 2. Grab the relative url
> > 3. Convert it to absolute url
> > 4. Write the html file with the converted absolute url
>
> > Please correct me if i am going wrong. Or provide me a link which
> > explains about URL translation.
>
> Not quite.
>
> Have a look here:http://en.wikipedia.org/wiki/Web_server#Path_translation
>
> URL translation happens for every HTTP request.
>
> User at the browser knows only URL. Http server knows how to translate
> the URL to a file on a file system, in order to serve it back to the
> client.
>
> Http server serves a web page as is. No URL rewriting here.
>
> It is the browser, that upon receiving of a given page, in subsequent
> requests demands all referenced resources (images, css, js, ...).
>
> In those subsequent requests, server has to translate every URL to the
> path of a file, that the user requested.
>
> That is it.
>
> Daniel
>
>
>
>
>
>
>
>
>
>
>
> > On Nov 11, 6:51 pm, skink <[email protected]> wrote:
> >> On Nov 11, 2:43 pm, Sunil Mishra <[email protected]> wrote:
>
> >> > As a workaround i tried storing the image in app_images folder in
> >> > sdcard and trying to provide the url of that path. But still the
> >> > issues exists. Is there any other work around possible??
>
> >> > And do you have any clue
>
> >> > On Nov 11, 5:18 pm, Daniel Drozdzewski <[email protected]>
> >> > wrote:
>
> >> Daniel already gave you an answer:
>
> >> To achieve this, your server has to do
> >> translation from URL
> >> 'images/ topWrapper-bg.jpg ' to a file
> >> path within your storage
> >> '/yourstorage/ yourwebserver/
> >> wwwroot/webisteA/ images/
> >> topWrapper-bg. jpg'.
>
> >> pskink
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Daniel Drozdzewski

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to