I have no sound today, I suddenly think of a problem, can I change the suffix of the JSP file to my suffix? After some of my debugging, I finally succeeded. Hahaha. very happy.....
First, configure it in web.xm
testsuffix servlet-name> mytest.testsuffix servlet-class> servlet> TestSuffix servlet-name> *. br url-pattern> servlet-maping>
Write a page in the servlet to turn it ..
String Uri = Request.getRequesturi (); URI = Uri.ReplaceFirst (". Br", ".jsp"); RequestDispatcher Rd = Request.GetRequestDispatcher (URI); RD.Forward (Request, Response);
Hahaha. You can access the previous JSP file by * .br.