This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Writing infor in Excel file through servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Writing infor in Excel file through servlet" Watch "Writing infor in Excel file through servlet" New topic
Author

Writing infor in Excel file through servlet

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Can any one help out how to open an Excel file and write on it
through servlets...
Thanks,
Sangeetha


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"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

Joined: Mar 06, 2001
Posts: 13459

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

Joined: Jun 08, 2002
Posts: 3178
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...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
ok I'll change my name thanks for your kind information
Thanks,
Regards,
Sangeetha
Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Heyyy can u give me a sample code for this ...
Iam not aware of the tradition code..
Thanks,
Regards,
Sangeetha
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
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

Joined: Jun 08, 2002
Posts: 3178
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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Writing infor in Excel file through servlet
 
Similar Threads
Excel Reading
excel page not opening in a browser
How to upload the Excel to Database
Dynamic table creation based on excel template.
Record Export?