• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

client files on a JSP

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks
i wote my jsp to have a listbox which would display a list of files from a set directory
I am using this in conjunction with a WebSphere server. so what i want to do is be able to see the files on the client machine and load that file onto the browser. <it doesnt really have any server functionality associated with it>
This all worked fine on my local dev environment but once i put it on the server i was no longer able to see the set directory on my local machine.
is there a way to do this that i am missing?
many thanx as always!!!
Noreen
 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All the java in JSP is processed on the server, before it hits the client's machine. So you can't display the file that way.
You could use an HTML form file object... the user would still have to click the browse button to see the list of files.
reply
    Bookmark Topic Watch Topic
  • New Topic