ResquestInfoServlet.java
package com.demo.servlet; import com.sun.xml.internal.ws.policy.privateutil.PolicyUtils; import javax.servlet.ServletException; /** } |
web.xml
<servlet> <servlet-name>dispatcher</servlet-name> <servlet-class>com.demo.servlet.RequestInfoServlet</servlet-class> </servlet> |
ResquestInfoServlet生成的HTML页面
原文地址:https://www.cnblogs.com/sinceForever/p/8454392.html