Tomcat 5 supports servlets as welcome-files, just not extension-mapped ones
(e.g. *.do, *.jsp).  The reason is that extension-mapped servlets would
alway be choosen, even though in most cases the servlet couldn't handle it.

Simply adding a mapping like:
  <servlet-mapping>
       <servlet-name>action</servlet-name>
       <url-pattern>/index.do</url-pattern>
  </servlet-mapping>

solves your problem.

"R A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When entering a servlet(action) in the </welcome-list> tag, Tomcat returns
a directory listing. Does it support servlets in the </welcome-list> tags?
>
>
> ---------------------------------
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!




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

Reply via email to