how to add relative path of files in iframe file attribute

Discussion in 'Java' started by mahesh, May 2, 2007.

  1. mahesh

    mahesh Guest

    Hi All,
    i want to show the content of file in iframe .So iam using
    <iframe name="I1" src="file://<%=reportFilePath %>" but when i try to
    open the web page from different pc on the network
    it didnot display the content of file. but when i click on download
    buttion it'll properly download the file. So anybody know the solution
    to this problem then please tell me.

    Thanks in Advance

    regards
    mahesh B.
     
    mahesh, May 2, 2007
    #1
    1. Advertising

  2. Well, how does your download button code look like?
     
    Bogdan Alexandru Costea, May 2, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    3
    Views:
    19,567
    Sudsy
    Jul 8, 2004
  2. Thomas Guettler
    Replies:
    3
    Views:
    761
    Andrei
    Oct 27, 2003
  3. Oren
    Replies:
    1
    Views:
    551
    Michael D. Ober
    Apr 29, 2007
  4. Nigel Wilkinson
    Replies:
    2
    Views:
    389
    Nigel Wilkinson
    Jul 25, 2005
  5. Joe Attardi
    Replies:
    0
    Views:
    511
    Joe Attardi
    Jan 17, 2006
Loading...

Share This Page