• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

file is not loading in servlet

 
krishna bala
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't load something as a resource that isn't on the classpath. You'll have to use getRealPath().
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please only put code in code tags.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic