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 : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 27 juillet 2001 16:24
À : [EMAIL PROTECTED]
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>

--
 [EMAIL PROTECTED]

 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

Reply via email to