Accessing a file with ORION

Discussion in 'Java' started by Gianni, May 20, 2004.

  1. Gianni

    Gianni Guest

    Im trying to open a file with a link in a JSP like this:

    out.println("<a href=\"../filestat/"+row.getCell(2)+".txt\"> open file<a>");

    the file is in the correct directory but ... I get a HTTP 404 error


    if I try to open the same file with the browser
    http://196.84.99.188:8080/PCNS/work/filestat/John20040520093901.txt
    I get no better results.

    What can I do? Do I have to change Orion configurations? Which configuration ?
    Thanks
    John
     
    Gianni, May 20, 2004
    #1
    1. Advertising

  2. Gianni

    Yu SONG Guest

    Gianni wrote:
    > Im trying to open a file with a link in a JSP like this:
    >
    > out.println("<a href=\"../filestat/"+row.getCell(2)+".txt\"> open file<a>");
    >
    > the file is in the correct directory but ... I get a HTTP 404 error
    >
    >
    > if I try to open the same file with the browser
    > http://196.84.99.188:8080/PCNS/work/filestat/John20040520093901.txt
    > I get no better results.
    >
    > What can I do? Do I have to change Orion configurations? Which configuration ?
    > Thanks
    > John


    If you mean you cannot open the file from your browser, try to put the
    <base> tag (or full url) in the code.

    --
    Song

    More info.:
    http://www.dcs.warwick.ac.uk/~esubbn/
     
    Yu SONG, May 21, 2004
    #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. Elhanan Maayan

    jws on orion server?

    Elhanan Maayan, Jul 27, 2003, in forum: Java
    Replies:
    4
    Views:
    457
    Andrew Thompson
    Aug 3, 2003
  2. Fred Flintstone

    ResourceBundles - how to locate on Orion

    Fred Flintstone, Sep 3, 2004, in forum: Java
    Replies:
    7
    Views:
    476
    Sudsy
    Sep 5, 2004
  3. Gianni

    New fields with orion .....

    Gianni, Oct 11, 2004, in forum: Java
    Replies:
    0
    Views:
    339
    Gianni
    Oct 11, 2004
  4. Replies:
    1
    Views:
    344
    Roedy Green
    Oct 24, 2005
  5. Replies:
    0
    Views:
    348
Loading...

Share This Page