tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Lefèvre <llefe...@fivia.com>
Subject RE: RE: Direct servlet Access ?
Date Fri, 27 Jul 2001 14:32:42 GMT
Sorry, NUUUUUUUUUUUUUUUUUUUUUUUUUUUT

http://lol.fivia.com:8080/adfront/adfront

produces:

2001-07-27 15:37:47 - Ctx( /adfront ): 404 R( /adfront + /adfront + null)
null

:-(

note: entering ths url under IE5.0 produce the message and when I press
[Enter]
again, I get the content of the %TOMCAT_HOME%/webapps/adfront directory,
How bizarre !

-----Message d'origine-----
De : Ludovic.Maitre@sophia.inria.fr
[mailto:Ludovic.Maitre@sophia.inria.fr]
Envoyé : vendredi 27 juillet 2001 16:24
À : tomcat-user@jakarta.apache.org
Objet : Re: Direct servlet Access ?


Hello,

Have you try to access http://lol.fivia.com:8080/adfront/adfront ? [with
your parameter after]
It seems that you webapps can be reached by /adfront and the name of
your servlet is the same.

Loïc Lefèvre wrote:
>
> The story continue...
>
> I've reinstalled Tomcat 3.2.3 on my server and
> http://lol.fivia.com:8080/examples/servlet/HelloWorldExample works well.
> I have installed a war file that work well on NT in [linux]
> %TOMCAT_HOME%/webapps
> What is the url to access the class Test (com.fivia.adfront.sales.Test) ?
>
> server.xml:
> ...
> <Context path=""
>          docBase="webapps/adfront"
>          crossContext="false"
>          debug="0"
>          reloadable="true" >
> </Context>
> ...
>
> [adfront.war].web.xml:
> ...
> <web-app>
>
>     <servlet>
>         <servlet-name>AdFront</servlet-name>
>         <servlet-class>com.fivia.adfront.sales.Test</servlet-class>
>     </servlet>
>
>     <servlet-mapping>
>         <servlet-name>AdFront</servlet-name>
>         <url-pattern>/adfront</url-pattern>
>     </servlet-mapping>
>
>     <session-config>
>         <session-timeout>30</session-timeout>
>     </session-config>
>
> </web-app>

--
 Ludovic.Maitre@sophia.inria.fr

 INRIA - 2004 route des lucioles - BP 93    Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)    Fax: (33/0) 4 92 38 76 02


Mime
View raw message