Help someone to guess. The situation is as follows:
There is some kind of page (say index.jsp) on which they should display blocks with information. We should load this information from a DB, through Java Servlet. But at the same time I do not want to click on any buttons to send a POST request, which is to pull out this data. I wish that when you go to the page, infa itself was pulled out of the database and displayed in jsp. At the same time, this same infa can also display the jsp page in other pages.