tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Schuller" <peter.schul...@infidyne.com>
Subject Mapping "/" and *only* "/"
Date Sun, 16 Jul 2000 02:20:02 GMT
Hello,

What is the correct procedure for mapping "/" (only "/") to a servlet? With
the following servlet mapping, *all* requests are mapped to the servlet, and
I don't know why (since "/*" does that too; why does "/" do the same?):

<servlet-mapping>                       
	<servlet-name>                               
		fileviewer     
	</servlet-name>       
	<url-pattern>                       
		/          
	</url-pattern>
</servlet-mapping>                            

Thanks!

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey@scode.infidyne.com
E-Mail: peter.schuller@infidyne.com Web: http://scode.infidyne.com


Mime
View raw message