• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileNotFOundException

 
Raks Bhosale
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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........
 
Greg Charles
Sheriff
Posts: 3002
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic