--> How did you do to reach your servlet with tomcat???
thanks

OK I have found it

Gerard BORREILL wrote:

> Hello,
>   There is probably something I do not understand, but I can't manage
> making my servlets reachable with tomcat .
> I am using Tomcat 3.2.1 with apache on Solaris. So I have generated the
> mod_jk module.
>
> I have set in the web.xml file of my servlet :
>     <servlet-mapping>
>       <servlet-name>MyServlet</servlet-name>
>       <url-pattern>/Test</url-pattern>
>     </servlet-mapping>
>
> So I presume that the URL to my servlet should end with"/Test"
>
> My .war file (myweb.war) is under
> ../dist/tomcat/webapps/
> and is uncompressed when I start Tomcat.
>
> The servlet is started (the init() method is called). So it means it is
> installed in the right place and Tomcat knows where to find it, and the
> servlet does not crash when being started.
>
> What URL should I type to call my servlet ? I am using a little java
> client that sends data to the servlet.
>
> I have tried
>
> http://<myHost>/myweb/Test
> http://<myHost>/myweb/servlet/Test
> ans so many others...
>
> But my client still fails to reach the servlet. (Error 404 file not
> found) What's wrong ?
>
> In advance, thank you,
>
> Gérard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

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

Reply via email to