is currently doing sprin mvc exercises and has created a spring mvc project directly with idea. Then you need to add the dependencies of the servler package when you create a controller.
found on the Internet, basically using maven to add dependencies, now very curious how not to use maven to add dependencies?
the environmental background of the problems and what methods you have tried
I asked. Basically, I advised to use maven, directly, but I couldn"t restrain my curiosity. I wanted to ask.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
@ Override
public ModelAndView handleRequest(
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws Exception {