tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
Subject Would like to extract every request to servelt except index.html
Date Fri, 02 Apr 2010 08:51:38 GMT
I would like every request to be redirected to a central servlet EXCEPT  
if the  request is simply index.html, but at the moment everything gets 
redirected to the servlet, how could I do what I want

This is extract from my web.xml
 
<servlet-mapping>
  <servlet-name>SearchServerServlet</servlet-name>
  <url-pattern>/</url-pattern>
</servlet-mapping>
<welcome-file-list>
    <welcome-file>index.html</welcome-file>
</welcome-file-list>

thanks Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message