As you look into your servlet class, there is no package
defined, which is required. And map that class with package(mean fully qualified name) in <servlet-class/>
tag.
Another thing is you are setting action to url servlet/LogininServlet
, but given different url in <url-pattern/>
tag, which is wrong. you can simply set the form action to login