This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
On page 217 of the Manning Study Kit, given the following in web.xml: <servlet-mapping> <servlet-name>InitTestServlet</servlet-name> <url-pattern>/initTest.jsp</url-pattern> </servlet-mapping> http://localhost:8080/chapter12/initTest.jsp and http://localhost:8080/chapter12/InitTestServlet will generate different outputs. But I got exactly the same results, both prints out the init parameters configured in web.xml. ??? Like to share your experience and explainations. Thanks. yu chen :roll:
hi Yu Chen Do u have a file named InitTestServlet in ur chap12/WEB-INF/... cause i don't and this(2nd) link gives me file not found :roll: wheras the first gives me Servlet Name = InitTestServlet Parameter region = North America