On Fri, Oct 9, 2009 at 3:29 AM, Richard Ulrich <[email protected]> wrote:
> Hi Zhimin,
>
> I looked at your code, and adapted it to my problem.
> It works with InternetExplorer, but Firefox and Chrome refuse to render
> a local "file://..." page inside a page that was received through http
> from witty.
>
> So, is installing a webserver to serve these few static html files
> really the only solution, or is there something internal in witty?
> I also experimented with WFileResource, but that would break the
> relative links.
> Can the WtHttp be abused to server static html pages?

That file:// issue has nothing to do with witty.  IE in some certain
privacy settings will also block external websites from linking to an
internal address (causes some nice issues at work when someone upgrade
for sure).  Firefox and Chrome just run based on high default security
permissions or else it can be used to download files from the local
drive (bad bad bad), although in Firefox (maybe chrome somehow too)
you can override it on a per-site basis (possibly global too in
about:config).

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to