• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

dynamically create attendance sheet in jsp

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am working on a project which require to create attendance sheet of all employee within the organisation for each month. I am trying to create a attendance sheet using java.util.Calander class. But not getting the the idea of how to generate sheet dynamically for each month. Could any body give any idea how to start or any other alternate option.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where does the data come from? Is it in a database already? Or does each employee need to log into the application you're writing to enter their own data?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It might help to create a plain HTML mock-up with fake data. This will give you a chance to check with whoever gave you the project to ensure you are heading in the right direction before you start coding.

Bill
 
Sheriff
Posts: 67670
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

William Brogden wrote:It might help to create a plain HTML mock-up with fake data. This will give you a chance to check with whoever gave you the project to ensure you are heading in the right direction before you start coding.


A wise approach.
 
Sweta Chauhan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lester Burnham wrote:Where does the data come from? Is it in a database already? Or does each employee need to log into the application you're writing to enter their own data?



Sorry for late reply, all employee data will be coming from the Oracle10g data.
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may prompt the user to select the month, which is passed to the controller layer(servlet). There you can have your business logic code through some helper classes to retrieve details of the selected month. Once that is retrieved present it through jsp.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

we can generate the required output with support from Database (Query) and jsp
we can do in this way
date should be converted to smalldate at Db and execute the query get the result and display

hope my point is up to your requirement
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi check this
http://www.roseindia.net/answers/viewqa/Java-Magazine/4429-code-for-attendence-in-excel-sheet.html
 
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic