I started learning jsp and did some simple web application examples. I am coding a simple shop and dynamic web-app name is Book0. The index.html redirects
response.sendRedirect("/Book0/eshop");
while the item list is null (initial access).
Now I deployed the application on tomcat via .war export on eclipse. I had the servlet coded on servlet.Servlet0;
the web.xml for the app, I added on top welcome file list on generic eclipse web.xml:
<servlet>
<servlet-name>EshopServlet0</servlet-name>
<servlet-class>servlet.Servlet0</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>EshopServlet0</servlet-name>
<url-pattern>/eshop</url-pattern>
</servlet-mapping>
My other application has been working so far. But this one hits 404 when redirects to the servlet.. Any ideas what has gone wrong. Thx