• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing infor in Excel file through servlet

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one help out how to open an Excel file and write on it
through servlets...
Thanks,
Sangeetha
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Sangeetha",
You have 31 posts with an invalid display name. Please see the rules on JavaRanch display names here.
Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.
Please edit your profile so that your display name complies to the naming rules.
You should also be aware that accounts with invalid display names get deleted without warning, and are not eligible for book give-aways. 31 posts is not acceptable and your account is likely to be deleted if you don't update your display name soon.
thanks,
Dave.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did a quick search and it appears you have changed your display name from one that is valid to one that is invalid. Please change it back soon since it would be unfortunate if your account was deleted over a misunderstanding
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sangeetha:
Can any one help out how to open an Excel file and write on it
through servlets...
Thanks,
Sangeetha

U can use the traditional way by applying java.io package... I've never tried on servlets. But I am currently doing client-server Swing-based application... I have to use the simple traditional technique to access files such as CSV, EXCEL... Just an opinion...
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok I'll change my name thanks for your kind information
Thanks,
Regards,
Sangeetha
 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heyyy can u give me a sample code for this ...
Iam not aware of the tradition code..
Thanks,
Regards,
Sangeetha
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls check this
using HSSF its easy to read the excel file
http://jakarta.apache.org/poi/hssf/how-to.html
hth
sunitha
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sangeetha Vasantha:
Heyyy can u give me a sample code for this ...
Iam not aware of the tradition code..
Thanks,
Regards,
Sangeetha

Here it is... I modified sthing to make you understand quickly... Hope it helps you...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic