SlideShare a Scribd company logo
1 of 1
Download to read offline
Hello,
I am creating a website using java language and spring MVC framework + Thymeleaf for view.
In my DB I have a table which has a self referencing (hierarchal), I have a table for employees
which contains an employee Id and for each employee there is a manager Id.. so an employee
can be a manager for other employees.
Also from this table I created a view, it contains emplyeeId, managerId, and the name from
another table.
Now I have an entity (mapping the view)
//setters and getters
}
In my controller I send this line to my html page (
What I want now is, a tree view with checkboxes in my html page to show the managers and the
employees under them, only show managers and when the box is checked other employees will
be shown with checkboxes like a tree.
Could any expert help me by give me a clear html code and explaination

More Related Content

Similar to Hello I am creating a website using java language and sprin.pdf

Similar to Hello I am creating a website using java language and sprin.pdf (20)

Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Create an application with ember
Create an application with ember Create an application with ember
Create an application with ember
 
Spring mvc
Spring mvcSpring mvc
Spring mvc
 
Fccwc326
Fccwc326Fccwc326
Fccwc326
 
Jinal desai .net
Jinal desai .netJinal desai .net
Jinal desai .net
 
CodeIgniter 101 Tutorial
CodeIgniter 101 TutorialCodeIgniter 101 Tutorial
CodeIgniter 101 Tutorial
 
MVC in PHP
MVC in PHPMVC in PHP
MVC in PHP
 
ASP.NET MVC.
ASP.NET MVC.ASP.NET MVC.
ASP.NET MVC.
 
DMS Question bank class test ii sep 2019
DMS Question bank class test ii sep 2019DMS Question bank class test ii sep 2019
DMS Question bank class test ii sep 2019
 
Question bank class test ii sep 2019
Question bank class test ii sep 2019Question bank class test ii sep 2019
Question bank class test ii sep 2019
 
Access tips access and sql part 4 building select queries on-the-fly
Access tips  access and sql part 4  building select queries on-the-flyAccess tips  access and sql part 4  building select queries on-the-fly
Access tips access and sql part 4 building select queries on-the-fly
 
Plsql task
Plsql taskPlsql task
Plsql task
 
Laravel 8 export data as excel file with example
Laravel 8 export data as excel file with exampleLaravel 8 export data as excel file with example
Laravel 8 export data as excel file with example
 
ASP.NET Identity
ASP.NET IdentityASP.NET Identity
ASP.NET Identity
 
Class 8 - Database Programming
Class 8 - Database ProgrammingClass 8 - Database Programming
Class 8 - Database Programming
 
ASP.NET MVC 5 Building Your First Web Application (A Beginner S Guide
ASP.NET MVC 5  Building Your First Web Application (A Beginner S GuideASP.NET MVC 5  Building Your First Web Application (A Beginner S Guide
ASP.NET MVC 5 Building Your First Web Application (A Beginner S Guide
 
Documentation For Tab Setup
Documentation For Tab SetupDocumentation For Tab Setup
Documentation For Tab Setup
 
Drupal Views development
Drupal Views developmentDrupal Views development
Drupal Views development
 
Murach : How to develop a single-page MVC web
Murach : How to develop a single-page MVC web Murach : How to develop a single-page MVC web
Murach : How to develop a single-page MVC web
 
Zend Framework And Doctrine
Zend Framework And DoctrineZend Framework And Doctrine
Zend Framework And Doctrine
 

More from actioncbe1

hello can anyone help me to answer the Review question Rev.pdf
hello can anyone help me to answer the Review question   Rev.pdfhello can anyone help me to answer the Review question   Rev.pdf
hello can anyone help me to answer the Review question Rev.pdf
actioncbe1
 
Hello guys please make sure program runs well USING C anyth.pdf
Hello guys please make sure program runs well USING C anyth.pdfHello guys please make sure program runs well USING C anyth.pdf
Hello guys please make sure program runs well USING C anyth.pdf
actioncbe1
 
han estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdfhan estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdf
actioncbe1
 
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdfHayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
actioncbe1
 

More from actioncbe1 (20)

hello can someone help me with this problem 1 By hand you.pdf
hello can someone help me with this problem 1 By hand you.pdfhello can someone help me with this problem 1 By hand you.pdf
hello can someone help me with this problem 1 By hand you.pdf
 
Hay cinco partes en esta pregunta Se ha encontrado una var.pdf
Hay cinco partes en esta pregunta  Se ha encontrado una var.pdfHay cinco partes en esta pregunta  Se ha encontrado una var.pdf
Hay cinco partes en esta pregunta Se ha encontrado una var.pdf
 
Hello Current Generation This is the Old Timers checking in.pdf
Hello Current Generation This is the Old Timers checking in.pdfHello Current Generation This is the Old Timers checking in.pdf
Hello Current Generation This is the Old Timers checking in.pdf
 
hello can anyone help me to answer the Review question Rev.pdf
hello can anyone help me to answer the Review question   Rev.pdfhello can anyone help me to answer the Review question   Rev.pdf
hello can anyone help me to answer the Review question Rev.pdf
 
Hello guys please make sure program runs well USING C anyth.pdf
Hello guys please make sure program runs well USING C anyth.pdfHello guys please make sure program runs well USING C anyth.pdf
Hello guys please make sure program runs well USING C anyth.pdf
 
Having two copies of the t SSRNA genome in the virion is a.pdf
Having two copies of the t SSRNA genome in the virion is a.pdfHaving two copies of the t SSRNA genome in the virion is a.pdf
Having two copies of the t SSRNA genome in the virion is a.pdf
 
Hello I think I have known the general rules to how to con.pdf
Hello  I think I have known the general rules to how to con.pdfHello  I think I have known the general rules to how to con.pdf
Hello I think I have known the general rules to how to con.pdf
 
Gua de la pelcula Hacerse humano Antropologa 101 1 .pdf
Gua de la pelcula Hacerse humano Antropologa 101  1 .pdfGua de la pelcula Hacerse humano Antropologa 101  1 .pdf
Gua de la pelcula Hacerse humano Antropologa 101 1 .pdf
 
Hedge Funds and Private Equity Funds are one of the most imp.pdf
Hedge Funds and Private Equity Funds are one of the most imp.pdfHedge Funds and Private Equity Funds are one of the most imp.pdf
Hedge Funds and Private Equity Funds are one of the most imp.pdf
 
Heather and Daniel investigate the Antimicrobial Resistance .pdf
Heather and Daniel investigate the Antimicrobial Resistance .pdfHeather and Daniel investigate the Antimicrobial Resistance .pdf
Heather and Daniel investigate the Antimicrobial Resistance .pdf
 
Heather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdf
Heather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdfHeather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdf
Heather az nce bir mteri demesi ald ve Hesaba Yatrlanlar .pdf
 
Healthcare as available through the national health service.pdf
Healthcare as available through the national health service.pdfHealthcare as available through the national health service.pdf
Healthcare as available through the national health service.pdf
 
Health coverage frequencies The Behavioral Risk Factor Sur.pdf
Health coverage frequencies The Behavioral Risk Factor Sur.pdfHealth coverage frequencies The Behavioral Risk Factor Sur.pdf
Health coverage frequencies The Behavioral Risk Factor Sur.pdf
 
Head of State The name of the representative of the Queen o.pdf
Head of State The name of the representative of the Queen o.pdfHead of State The name of the representative of the Queen o.pdf
Head of State The name of the representative of the Queen o.pdf
 
he following parents were mated together Show the Phenotype.pdf
he following parents were mated together Show the Phenotype.pdfhe following parents were mated together Show the Phenotype.pdf
he following parents were mated together Show the Phenotype.pdf
 
han estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdfhan estado publicando las mismas preguntas y no han obtenido.pdf
han estado publicando las mismas preguntas y no han obtenido.pdf
 
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdfHayati Belirtiler Vaka almas   Bay Charles Lamont 64 yanda .pdf
Hayati Belirtiler Vaka almas Bay Charles Lamont 64 yanda .pdf
 
Have students observe a classroom for young children using t.pdf
Have students observe a classroom for young children using t.pdfHave students observe a classroom for young children using t.pdf
Have students observe a classroom for young children using t.pdf
 
Having flowers produced on the stem Axial is a dominant tr.pdf
Having flowers produced on the stem Axial is a dominant tr.pdfHaving flowers produced on the stem Axial is a dominant tr.pdf
Having flowers produced on the stem Axial is a dominant tr.pdf
 
Havaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdf
Havaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdfHavaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdf
Havaalan ehir ii servisi Otobs 747 Trudeau havaalanndan .pdf
 

Recently uploaded

Recently uploaded (20)

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 

Hello I am creating a website using java language and sprin.pdf

  • 1. Hello, I am creating a website using java language and spring MVC framework + Thymeleaf for view. In my DB I have a table which has a self referencing (hierarchal), I have a table for employees which contains an employee Id and for each employee there is a manager Id.. so an employee can be a manager for other employees. Also from this table I created a view, it contains emplyeeId, managerId, and the name from another table. Now I have an entity (mapping the view) //setters and getters } In my controller I send this line to my html page ( What I want now is, a tree view with checkboxes in my html page to show the managers and the employees under them, only show managers and when the box is checked other employees will be shown with checkboxes like a tree. Could any expert help me by give me a clear html code and explaination