Why i have an error in my web.xml when i want add servlet..?
<servlet>
<servlet-name>ClientServlet</servlet-name>
<servlet-class>org.task.ClientServlet</servlet-class>
<servlet-name>FactoryServlet</servlet-name>
<servlet-class>org.task.FactoryServlet</servlet-class>
<servlet-name>TraderServlet</servlet-name>
<servlet-class>org.task.TraderServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ClientServlet</servlet-name>
<url-pattern>/ClientServlet</url-pattern>
<servlet-name>FactoryServlet</servlet-name>
<url-pattern>/FactoryServlet</url-pattern>
<servlet-name>TraderServlet</servlet-name>
<url-pattern>/TraderServlet</url-pattern>
</servlet-mapping>