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

how xls file call to my servlet code  RSS feed

 
saravanan rajendran
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, i have excel stuff that contain some values its saved in var/WWW/upload/sample.xls that below code read that values and store into database.

my doubt how i can get sample.xls file into my servlet below code:



JCE - Please use code tags
[ July 22, 2008: Message edited by: Joe Ess ]
 
Rob Spoor
Sheriff
Posts: 20895
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not use swear words again. We really frown upon that.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since a web app does not have a concept of a default directory, you need to use an absolute path.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!