as shown in figure 1, all the jsp files are placed under WEB-INF, and index.jsp is the main page. You want to jump from the main page to the product page where products.jsp, is also under WEB-INF. If you directly use or on the main page, you cannot access the page. The web page could not be found in 404.
so I found some information on the Internet and saw that it was realized with forward. But I don"t know how to do it. Can the gods take a look at it? Help me write it. It"s best to write
figure 1