You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lomesh Contractor <lo...@elitecore.com> on 2001/04/04 08:23:17 UTC

How to set extension mapping

Hi All,

	Here is my question.

	I want to map files with ".xyz" extension to be treated as a ".jsp" file.

	i.e. if any request comes with .xyz extension ( e.g.
http://myserver/mydomain/mydirectory/myfile.xyz )
	and if myfile.xyz contains jsp code. So, for the above request the
myfile.xyz shud be compiled into servlet and then it 	shud send response as
per the code written..

	To achieve this type of extension mappping what steps i have to take in
configuration of tomcat server.

Hoping for quick reply

Lomesh.