• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

FileNotFOundException

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I deployed one application on my machine.
my class reads from excel sheet and displays that content through jsp.
When I try to upload file form my local machine , it works properly.
But when I access my application from other machine, and try to upload excel file from his machine, It always searches the path in my machine only.....so I get file not found exception..

please help........
 
Sheriff
Posts: 3064
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Reading a file from a file system and reading a file over a network are two different things. How do you access the application running on your machine from a different machine? Did you write it as a client/server application or are you using some kind of terminal window? If you have a client, the smarts for searching the file system have to be there, or you could just copy the whole application onto the remote machine.
 
reply
    Bookmark Topic Watch Topic
  • New Topic