Results 1 to 1 of 1
  1. #1
    Robert_85 is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Openning File via Ajax


    Does anyone know how to return/open non-html/non-xml files via Ajax?

    Basically, I am trying to retrieve a PDF file from the sever (through Servlet) into the browser and I am using Ajax for generall request/response calls.

    Can anyone help?

    P.S. apparently there is something called iframe that you can use to do the job but I dont know how to use it?

    I really appreciate.

    Last edited by Robert_85; 08-17-2010 at 07:27 PM.

Similar Threads

  1. Openning A PDF File from server in the Browser
    By Robert_85 in forum Java Servlet
    Replies: 0
    Last Post: 08-11-2010, 11:36 AM
  2. Ajax / servlet File upload
    By n3mesi83 in forum Java Servlet
    Replies: 0
    Last Post: 06-08-2010, 02:48 PM
  3. Ajax and JSP
    By Vincent in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 02-11-2010, 02:49 PM
  4. read xml file from ajax
    By tharakadp in forum XML
    Replies: 0
    Last Post: 12-04-2008, 06:40 AM
  5. Problem reading an xml file with AJAX
    By Fiona80 in forum XML
    Replies: 0
    Last Post: 12-17-2007, 09:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts