How do I access a servlet without using <servlet-mapping>? I know servlet-mapping makes sense but I want to understand the other URI and everything I try doesn't make work:
servlet: webapp/WEB-INF/classes/ReportSales.jave web.xml: <servlet> <servlet-name>SalesReport</servlet-name> <servlet-class>ReportSales</servlet-class> <servlet-mapping> <servlet-name>SalesReport</servlet-name> <url-pattern>/report</url-pattern> </servlet-mapping> </servlet> The following all failed: http://localhost:8080/WindwardReportsServlet/servlet/ReportSales http://localhost:8080/WindwardReportsServlet/servlet/SalesReport http://localhost:8080/WindwardReportsServlet/ReportSales http://localhost:8080/WindwardReportsServlet/SalesReport This does work: http://localhost:8080/WindwardReportsServlet/report ??? - thanks - dave