This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Spring MVC for employee shift

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I have two requirements

1. parsing Excel file and insert excel data in to DB (oracle).
2. Transverse DB table structure to UI.

I am doing a small Project to maintain employee shift tracker, which we are maintaining in excel. below is the sample excel data, T1 represents time (6:00 am-4:00 pm) T2(12:00 pm-9:00pm) T3(9:00 pm-6:00 am)
Dateemp1emp2emp3emp4emp5emp6
01/July/2016T2T1T3T1T3T2
02/July/2016T1T2T3T2T1T3
03/July/2016T3T1T2T3T2T1
04/July/2016T1T3T1T1T3T2


Below is table script designed by DBA -- Is table design correct to get above view?



Any link or suggestion to upload excel data in to above table using spring MVC


I googled for Spring MVC and found one sample to edit employee details, however not able to design Shift Jsp. Below is the code i am planning to use.

Below is Bean


below is DTO class



Below is add employee Jsp



Bean and DTO are the key classes to get and put list of objects, hence requesting help on how i should modify the code to display.

thanks
Abhee
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!