Hello,
you must have in the 'web-inf' directoty of your servlet a mapping like this
one:
<web-app>

<servlet-mapping>

<servlet-name>invoker</servlet-name>

<url-pattern>/servlet/*</url-pattern>

</servlet-mapping>

</web-app>

and you can invoke all servlets in the directory: "WEB-INF/classes" by the
request:

http://localhost/YourDirectory/servlet/TheServlet

Fred

----- Original Message -----
From: "jcubic" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 7:03 AM
Subject: RE: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44


> No, I did not. The strange thing is that if I run Tomcat manually along
with
> Apache and let jni startup in Apache fail by not giving correct classpath,
I
> actually can run servlet as well as jsp.
>
> I can't see servlet invoker is obviously disabled in web.xml in Tomcat
conf
> directory. But I think I am going to look into web.xml a little more to
see
> if that is the culprit.
>
> Jimmy
>
> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 9:20 PM
> To: 'Tomcat Users List'
> Subject: RE: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44
>
>
>
>
> Did you change anything in Tomcat's web.xml?  Sounds like the Invoker
> servlet is disabled, but it is enabled by default for the examples, but
> disabled for everything else.
>
> John
>
>
> -----Original Message-----
> From: jcubic [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 10:45 PM
> To: Tomcat Users List
> Subject: RE: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44
>
>
> I did. I am getting the HTTP error I described : 'HTTP Status 503 -
Servlet
> invoker is currently unavailable'. - jimmy
>
> -----Original Message-----
> From: Mark Eggers [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 7:38 PM
> To: Tomcat Users List
> Subject: Re: Problem making Tomcat 4.1 invoke servlet from Apache 2.0.44
>
>
>
> Jimmy,
>
> Try the following:
>
> [uri:/examples/servlet/*]
>
> HTH
>
> /mde/
> just my two cents . . . .
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> ---------------------------------------------------------------------
> 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]
>
> ---
>
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
>
>
> ---
>
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
>
>
> ---------------------------------------------------------------------
> 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]
>


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

Reply via email to