Results 1 to 5 of 5
  1. #1
    Malathi is offline Member
    Join Date
    Mar 2009
    Posts
    9
    Rep Power
    0

    Default How to open a file located in server from client side

    Hi,

    My web application is based on struts. My query is, when client is clicking on a link, it has to open a folder to the client that was located in server system.

    Could anybody help me how i can do that.

    Thanks
    Malathi

  2. #2
    Join Date
    Mar 2009
    Posts
    5
    Rep Power
    0

    Default

    If you want to check any folder with in WEB-INF then use as
    InputStream input = getServletContext().getResourceAsStream(filepath);

  3. #3
    Malathi is offline Member
    Join Date
    Mar 2009
    Posts
    9
    Rep Power
    0

    Default

    Sorry. Here server in the sense it is not the application or web server where the application resides. we can think it as another system. So, here i want to open a folder (exists in another system )from the client system.

    I think now my requirement will be clear to all.

  4. #4
    Malathi is offline Member
    Join Date
    Mar 2009
    Posts
    9
    Rep Power
    0

    Default

    Any suggestions please

  5. #5
    java-walker is offline Member
    Join Date
    Apr 2009
    Location
    Russia
    Posts
    4
    Rep Power
    0

    Default

    A bit strange wish.
    r u wana open the folder on some different server or machine?
    The client system is a web-client, isn't it?

Similar Threads

  1. To transfer a file from client to server
    By phani in forum Networking
    Replies: 4
    Last Post: 10-12-2010, 07:15 PM
  2. Replies: 2
    Last Post: 10-05-2008, 07:13 PM
  3. jsp program for client side printer to print these 2 strings on 3/3
    By for453 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-07-2007, 05:42 PM
  4. Replies: 0
    Last Post: 08-06-2007, 07:54 PM
  5. Replies: 6
    Last Post: 07-18-2007, 04:15 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
  •