CodePudding user response:
Write a JSP page,CodePudding user response:
Brother, you this reply is too roughCodePudding user response:
Servlet is oneself write, tomcat was not able to create, can only call, online example a lot of ah, create a class that inherits from HttpSerlet, realize the doget and dopost, then in the web. XML configuration path and class, released into the tomcatCodePudding user response:
Is to use eclipse development? , if it is, if the environment set up in SRC zhongjian, a servlet class, eclipse has built the servlet file option, (servlet is a Java) and then in the web. In the XML configuration servlet,