Any hint about how I can do it? Using "meta" works if I'm not redirecting
using Wt application. But when I redirect to the web-page through Witty
application, the browser start to download the PDF document instead of
loading it in built in viewer.

Thanks


On Sun, Jan 5, 2014 at 10:32 AM, Muhammad Nasser Al-Noimi <mnno...@gmail.com
> wrote:

> Hi,
>
> I'm trying to view a pdf document into browser but the browser is trying
> to download the document each time I try to load it into browser.
>
> I tried the following but I failed:
> - using meta: <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="application/pdf;
> charset=utf-8">
> - using javascript object such as: http://pdfobject.com/\
>
>
> I'm using the following instruction to do the job:
> MainApplication::instance()->redirect("mydocument.pdf");
>
> Thanks,
> Nasser Al-Noimi
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to