I'm new, haven't figured out servlets yet. In general, on the index.html page (photo 1) I enter some data into the floor, send it, and display a simple servlet to a new page, nothing more (photo 2). But I do not want the servlet to display data on a completely empty page. I would like to create my own jsp, which would be more or less framed, and the data already on this page would display the data
Question: how can I connect my created page and enter data there? (by the way, keeping the styles)
ps the teacher said that before there was an approach such that it was the servlet that returned the page completely, so the servlet, as I understand it, takes the template of my jsp page .. and I don’t understand something further
Thank.

