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:28:16 GMT
NUUUUUUUUUUUUUUUUUT

BAD ANSWER, Tomcat says:

2001-07-27 15:33:39 - Ctx(  ): 404 R(  +
/servlet/com.fivia.adfront.sales.Test + null) null

same things for:

http://lol.fivia.com:8080/servlet/com.fivia.adfront.sales.Test

or

http://lol.fivia.com:8080/adfront/servlet/com.fivia.adfront.sales.Test

What's the problem?

-----Message d'origine-----
De : Zsolt Horvath [mailto:horzsolt@mail.tiszanet.hu]
Envoyé : vendredi 27 juillet 2001 16:28
À : tomcat-user@jakarta.apache.org
Objet : Re: Direct servlet Access ?


/servlet/com.fivia.adfront.sales.Test


----- Original Message -----
From: "Loïc Lefèvre" <llefevre@fivia.com>
To: "Mailing List Tomcat" <tomcat-user@jakarta.apache.org>
Sent: Friday, July 27, 2001 4:20 PM
Subject: Direct servlet Access ?


> 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>
>
>
>


Mime
View raw message