Home > Back-end >  Why haven't I introduce jar package, but when inheriting the HttpServlet is not an error?
Why haven't I introduce jar package, but when inheriting the HttpServlet is not an error?

Time:02-10

This is I have a learning servlet building engineering, with the idea. In this module for task_02_demo03 I'm sure there is no introduction of jar package operation, but why is it that extends the HttpServlet error: why not? Because this time is arguably not the servlet - API package should have an error? Is it because of the parent directory (here it is the JavaWebOfLagou) has introduced the operation of jars?
However, I encountered a similar situation in the new project immediately error ah, I just want to ask why? In general will create a lib folder under the module directory, and then put the jar package kao inside, but I didn't see completely.

CodePudding user response:

There is a servlet tomcat package,
  • Related