Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BufferedReader Problem?  RSS feed

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've a FileReader instead of a BufferedReader declaration. The JSP I'm running is on the C: drive on one machine and it's trying to open a file on a mapped drive to another one. Is ere a problem trying to open files across mapped drives in a JSP like this, here's the error :
<pathname> (The system cannot find the path specified)
Permissions should not be a problem and I've checked the path 10,000 times. Any suggestions?

Rob
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you determining the path to the file? You will not be able to use relative file paths.
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And perhaps if your application server is running as a Windows service, your drives aren't as mapped as you think they are.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!