Hi,

I think it is on here. In $TOMCAT_HOME/conf/web.xml I have the following
lines:

   <!-- The mapping for the default servlet -->
    <servlet-mapping>
        <servlet-name>default</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

    <!-- The mapping for the invoker servlet -->

    <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>


    <!-- The mapping for the JSP servlet -->
    <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>


Doesn't it mean it is on? Or shall I do something with the web.xml in the
application?

Annie

-----Original Message-----
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Sent: 14. maaliskuuta 2003 12:15
To: Tomcat Users List
Subject: Re: Servlet not available


The default servlet invoker is off. Either turn it back on or define a 
servlet mapping for your servlet.
It should work.

Peng Annie wrote:

>Hi there,
>
>I am using Apache2, TC4, on W2k. tomcat works fine with jsps, but I got
this
>error when trying to login.
>
>type Status report
>message /myapp/servlet/UserLogin
>description The requested resource (/myapp/servlet/UserLogin) is not
>available.
>I know it must not be a big problem just should do some configuration. Can
>anyone tell me what shall I do?
>Thanks
>Annie
>
>
>  
>


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

Reply via email to