Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Excel files-Weekly,Monthly,Yearly

 
Abhishek Shirodkar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have developed jsp application in which i have created one jsp page which is having all the log activities of my users.now i want to export this jsp page to excel sheet which is divided into weekly , monthly and yearly.Can any please guide me how to export the excel file to weekly monthly and yearly with the different users from the jsp page.

Thanks in Advance
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The common way of creating Excel files is to use the Apache POI library. It has lots of example online at http://poi.apache.org/spreadsheet/quick-guide.html
 
Abhishek Shirodkar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i created the excel sheet file and its working fine for all the users..only thing is remaining that i made 3 radio buttons for weekly,monthly and yearly on my jsp page where i want to export my login entries into excel file.so can you please tell me how to display the data for weekly,monthly and yearly for different users..

Thanks in advance..
 
budsree gsk
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhishek Shirodkar wrote:Hi All

I have developed jsp application in which i have created one jsp page which is having all the log activities of my users.now i want to export this jsp page to excel sheet which is divided into weekly , monthly and yearly.Can any please guide me how to export the excel file to weekly monthly and yearly with the different users from the jsp page.

Thanks in Advance


You can use Jasper Reporsts Its a best option for your requirement.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you mean by "for different users"? If you only want to export data for a specific user, what is keeping you from doing so?

You can use Jasper Reporsts Its a best option for your requirement.

We don't know nearly enough about the problem to say that with any certainty.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic