Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a JSP view to render the data received form getAllEnergyReport as an HTML page as follows: Note: see Appendix D for JSTL core tags.

Write a JSP view to render the data received form getAllEnergyReport as an HTML page as follows:

image text in transcribed

image text in transcribedimage text in transcribed

image text in transcribed

Note: see Appendix D for JSTL core tags. (a) For Question 2(e) iii: JSTL taglib directives: %> Some JSTL core tags: c:out,c:set,c:forEach,c:if For Question 2(e): Controller class, HTML webpage and Java API helper. (a) Ofgem_Dataprovider.java (b) GET /energy_report/2022Q2/gas - an example of JSON response (c) GET /energy_report/2022Q2 - an example of JSON response (d) energy. html (e) For Question 2(e): Assume Ofgem_DataProviderService.java has been implemented with the following methods: public List getAllReport(); public List getReport (String quarter, String source); //e.g. getReport("2022Q1", "gas") - The method getAll Report returns all EnergyReport objects in a given quarter. - The method getReport returns an EnergyReport objects associated with a specific fuel source and year quarter. (f) For Question 2(e): class EnergyReportList\{ String measure_unit; QAutowired List list; class EnergyReport\{ String source; String output; boolean renewable; \} //suppose getters/setters are implemented for above classes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle Database Architecture

Authors: Thomas Kyte, Darl Kuhn

3rd Edition

1430262990, 9781430262992

More Books

Students also viewed these Databases questions

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago