The front end might be jsp servlet mvc or a angular front-page
Need to make them dynamic and reusable
Hey amit tiwari can you elaborate on the question? I'm not an expert in Java but I may be able to give a general Idea.
Can someone please explain this question? I'm though, a newbie, but anyone please?
So if it is angular, I assume you will have services that fetches that JSON. You can have model to map the response data to it and that can be used in your UI.
I saw your response to Ankit Ghosh's Comment. Let us know if you are doing anything different.
Simply use fetch api and add the data on fly inside html element.
In case you have multiple offers or ads, you can create a loop in javascript.
Emmy Leke
If I used Vue, I'll get them with axios, design a component with vuetify to display them