Hi. The question is: Where lies your start.jsp. It must be at the root-context. So if your app has the following structure:
EGPS WEB-INF CLASSES Then ist must be ??/EGPS/start.jsp Manfred -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Struts Newsgroup Gesendet: Sonntag, 14. Juli 2002 06:55 An: [EMAIL PROTECTED] Betreff: Struts installation and web.xml question Subject: Struts installation and web.xml question From: "BillB" <[EMAIL PROTECTED]> === Hi, I'm trying to add Struts to my existing webapp under Tomcat 4.* . The following is the web.xml file that I have after installing Struts. The problem is with the weloome jsp file (start.jsp). It is no longer being found after I add the entries for Struts. The error message is below. When I remove the Struts entries from the web.xml file all works well as before. What am I missing here? I've placed the welcome file entry in different places in the file to no avail. <!-------------- ERROR MESSAGE -----------> type Status report message /EGPS/start.jsp description The requested resource (/EGPS/start.jsp) is not available. <------------------ WEB.XML file listing ---------------> <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>turbine-init</servlet-name> <servlet-class>com.egps.services.TurbineInit</servlet-class> <init-param> <param-name>turbineDir</param-name> <param-value></param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>log4j-init</servlet-name> <servlet-class>com.egps.services.Log4jInit</servlet-class> <init-param> <param-name>log4j-init-file</param-name> <param-value>WEB-INF/log4j.properties</param-value> </init-param> <load-on-startup>true</load-on-startup> </servlet> <!-- STRUTS SETTINGS --> <!-- Action Servlet Configuration --> <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>2</param-value> </init-param> <init-param> <param-name>detail</param-name> <param-value>2</param-value> </init-param> <init-param> <param-name>validate</param-name> <param-value>true</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <!-- Action Servlet Mapping --> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> <!-- The Welcome File List NO LONGER BEING FOUND --> <welcome-file-list> <welcome-file>start.jsp</welcome-file> </welcome-file-list> <!-- Application Tag Library Descriptor --> <taglib> <taglib-uri>/WEB-INF/app.tld</taglib-uri> <taglib-location>/WEB-INF/app.tld</taglib-location> </taglib> <!-- Struts Tag Library Descriptors --> <taglib> <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> <taglib> <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> <taglib-location>/WEB-INF/struts-html.tld</taglib-location> </taglib> <taglib> <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> </taglib> </web-app> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>