On 11/14/06, David Delbecq <[EMAIL PROTECTED]> wrote:
Show us your web.xml please.
web.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'> <web-app> <servlet> <servlet-name>mostgain</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>mostgain</servlet-name> <url-pattern>*.htm</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file> index.jsp </welcome-file> </welcome-file-list> </web-app> Meanwhile, I tried setting up and running the 'springapp' example found in the spring docs exactly as instructed there and when I try to access localhost:8080/springapp I get the following error: javax.servlet.ServletException: Servlet.init() for servlet springapp threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) .... root cause: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/springapp-servlet.xml]; nested exception is java.io.FileNotFoundException: http://www.springframework.org/dtd/spring-beans_2_0.dtd Thanks, mano -- War is not about who's right..... its about who's left! --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]