• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Excel files-Weekly,Monthly,Yearly

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic