You need to include yet another directive in your web.xml file called servlet-mapping, search the web for it

Diego, Emil escribió:


I have upgraded my system from apache 3 and tomcat 3 and am now running tomcat 4.1.27-13 and apache 2.0.49-4. My webapp can't find a servlet after the upgrade. It's called servUploadMedia. I had it in my classes directory and it was configured in my web.xml file:

<web-app>
        <display-name>Upgrade Test</display-name>
        <session-timeout>900</session-timeout>
        <servlet>
                <servlet-name>servUploadMedia</servlet-name>
                <servlet-class>umJavaLib.servUploadMedia</servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
                <servlet-name>CalendarServlet</servlet-name>
                <servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
                <init-param>
                        <param-name>config</param-name>
                        <param-value>/sections/plcmt/students/config/</param-value>
                </init-param>
        </servlet>

        <!-- Default directory Files -->
        <welcome-file-list>
                <welcome-file>index.jsp</welcome-file>
                <welcome-file>intro.jsp</welcome-file>
                <welcome-file>index.html</welcome-file>
                <welcome-file>index.htm</welcome-file>
        </welcome-file-list>
</web-app>

Does tomcat 4 look for servlets in a different directory in this new version ?

Emil Diego
Website Administrator
University of Miami School of Business



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004


--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.736 / Virus Database: 490 - Release Date: 8/9/2004


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to