Hy!

The system: Tomcat 4.0.6 under Debian Woody.

I have a problem:
I wrote a servlet.
It is in:${CATALINA_HOME}/webapps/cbir/WEB-INF/classes/CBIServlet.class.
I was to refer in a HTML form: http://server_name/cbir/cbiservlet

The web.xml:
<?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/dtd/web-app_2_3.dtd";>

<web-app>
    <display-name>CBIServlet</display-name>
    <description>The application</description>

    <servlet>
        <servlet-name>cbiservlet</servlet-name>
        <servlet-class>CBIServlet</servlet-class>
        <init-param>
            <param-name>dbFile</param-name>
            <param-value>dbFile.tmp</param-value>
        </init-param>
        <init-param>
            <param-name>pictureDir</param-name>
            <param-value>/ora9/home/gyaraki/servlet/picture</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>cbiservlet</servlet-name>
        <url-pattern>/cbir</url-pattern>
    </servlet-mapping>
</web-app>

And if I was to refer, the response:
Error:404
type: Status report
messege /cbiservlet
description: The requested resource (/cbiservlet) is not available.

What is wrong?
Need I modify the web.xml?

regards,

Laci

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

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

Reply via email to