i have
project folder name: website_test
package name: hello_servet
testing_01.java
web.xml
index.html
i need help with servlet name. i think iam names wrong. for ex is servlet-name the class name or project folder name??
web.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<servlet>
<servlet-name>website_test</servlet-name>
<servlet-class>hello_servet.testing_01</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>website_test</servlet-name>
<url-pattern>/website_test</url-pattern>
</servlet-mapping>
</web-app>