Hi Team,

I am using apache Tomcat 8 version,

*Problem statement: *

My application's accessible  URL format is
*http://<server_name>/abc/xyz.exe*

when I hit it on the browser with '/' appended to end the url something
like  *http://<server_name>/abc/xyz.exe/ *

Then, the junk file *xyz.exe* is getting downloaded from the browser..

I have the following configuration in web.xml :

<init-param>
   <param-name>_webengine0</param-name>
   <param-value>web:local</param-value>
</init-param>
<init-param>
    <param-name>web:local</param-name>
    <param-value>pdmweb.exe</param-value>
</init-param>


Can you please help me/redirect correct  Tomcat configuration  to restrict
exe from downloading



Thanks,
Bharath

Reply via email to