Skip to content
Advertisement

how to modify web.xml for multiple servlet

I just get confused about how to modify web.xml for multiple servlet. I got three servlet to handle three different jsp, but now only one servlet is effective.

Advertisement

Answer

You should declare and define the classes/servlets inside the web.xml file like this:

JavaScript
Advertisement