I have figured out a way. You can change the xml access path of the servlet to index.jsp and then put the real index.jsp file under the WEB-INF folder. In this way, accessing the jsp file actually accesses the servlet file, and then the servlet Forward it to a jsp file and that’s it
I have figured out a way. You can change the xml access path of the servlet to index.jsp and then put the real index.jsp file under the WEB-INF folder. In this way, accessing the jsp file actually accesses the servlet file, and then the servlet Forward it to a jsp file and that’s it