"H.F.N. den Boer" wrote:

> Thank you very much for your quick response.
> It seems I mixed up the servlet-name and servlet-class tags.
> Next monday I'll correct and test it.
>
> To check my understanding;
> - servlet section; servlet-name is a alias for a servlet, which is the
> first mapping
> - servlet-mapping section; here we have the second fase of mapping,
> where the servlet alias is translated to a certain URL.
>
> In my case, I simply want the fully qualified classname to be mapped to
> a servlet alias. Without using the servlet-mapping section, the url in
> my example should then be http://localhost:8080/imsapps/gsServer.
> (imsapps = context, gsServer = servlet-name)
>
> Is that correct ?
>
> Regards,
> Nico
> [...]

Hi :-)  with jakarta-tomcat-4.0-b1(standalone, JDK1.3, wint40),
from several emails && IMHO ^_^,   it is not right, I think it
should be:
   -  if you want to use servlet-name:
      http://localhost:8080/imsapps/servlet/gsServer

   -  if you want to use servlet-mapping:
      http://localhost:8080/imsapps/mappingName
(I suppose in your WEB-INF/web.xml: you already define
 the following servlet-mapping:
    ...
    <servlet-mapping>
        <servlet-name>gsServer</servlet-name>
        <url-pattern> /mappingName</url-pattern>
    </servlet-mapping>
    ...
)



Bo
Mar.10, 2001




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

Reply via email to