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)
Date | emp1 | emp2 | emp3 | emp4 | emp5 | emp6 |
---|
01/July/2016 | T2 | T1 | T3 | T1 | T3 | T2 |
02/July/2016 | T1 | T2 | T3 | T2 | T1 | T3 |
03/July/2016 | T3 | T1 | T2 | T3 | T2 | T1 |
04/July/2016 | T1 | T3 | T1 | T1 | T3 | T2 |
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