Home > Back-end >  Just started to learn ajax, get request console output, click the link error 404
Just started to learn ajax, get request console output, click the link error 404

Time:09-21

JSP code is

The servlet code is

The JSP page

A get request was useless, console and no output

CodePudding user response:

Your servlet configuration map path and access the same?

CodePudding user response:

Not set this, the code is that

CodePudding user response:

This configuration to the post can have a look at the meal diagnosis

CodePudding user response:

The demo class topped with a @ Webservlet ("/ajax/DemoServlet01 ")

CodePudding user response:


Without anything to write these two

CodePudding user response:

Said the teacher's teaching video inside can direct access to the http://localhost:8080/ajax/DemoServlet01, I have direct access to an error 404

CodePudding user response:

To build the project, to create the servlet with a @ Webservlet ("/ajax/DemoServlet01 "), and can output, thank you for your reply
  • Related