已采纳回答 / 好帮手慕珊
可以这样做 @WebServlet( name="TestServlet", value="/servlet/GetInitParameterServlet", initParams={@WebInitParam(name="username",value="admin")} )----------------------------------------public void init() throws ServletException { // Put your code here St...
2015-05-08