Jeff,
there's no way around this.  Browsers have no idea that the url path contains 
extraPath so they calculate relative paths from the url path.  You have to 
either use absolute paths or include a <base> tag in your html output.
Tavis

On June 27, 2002 12:59 pm, Jeff Johnson wrote:
> I'm using extraPath now with some success and I found that it breaks
> relative URLs to images.  I tried to come up with a patch but haven't
> had much luck yet.  My short term solution was to change all my relative
> URLs to full URLs but when the page is displayed on HTTPS, it complains
> that the graphics are not secure.  I could put some code in to figure
> out the correct full URL on the fly but I figure it would be better to
> make the patch.  Has anyone else solved this problem already?
>
> If a servlet, myservlet.py, has '<img src="images/button.gif">', and the
> URL for the page is http://www.x.com/myservlet.py/state/FL/city/Miami,
> the image URL will be
> http://www.x.com/myservlet.py/state/FL/city/images/button.gif.
>
> Regards,
> Jeff
>
>
>
>
> -------------------------------------------------------
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to