Hi everyone,
I wonder if anyone have similar experiences with the following problem before. This is what I want to do: http://domainName/{anything but underscore} <- dealt with by the Gateway servlet http://domainName/_folderName/*.abc <- dealt with by the JSP servlet The current solution in web.xml: . <servlet-mapping><url-pattern>/_folderName/*</url-pattern><servlet-name>jsp< /servlet-name></servlet-mapping> <servlet-mapping><url-pattern>/*</url-pattern><servlet-name>Gateway</servlet -name></servlet-mapping> . This solution works well with most files. However, the jsp servlet also tries to parse and convert images and other files to JAVA files if they are located in the "/_folderName/" folder. Unfortunately, this type of conversion breaks some images and executable files. I also tried to use the default servlet to deal with images to no avail <servlet-mapping><url-pattern>/_folderName/images/*</url-pattern><servlet-na me>jsp</servlet-name></servlet-mapping>. Using a customized dispatcher to redirect (forward/include) traffic also doesn't work as requests get into an infinite loop. Any suggestion would be much appreciated. Thanks, Tony Chan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]