title: With trailing slash in URL , jsp show source code
body: <p>we have application deployed over wildfly 8.1 . All works fine for jsps , but whenever I put a slash , browser shows source code of jsp. This is an issue from security.</p>
  
  <p>Can I handle this at wildfly or undertow configuration level .</p>
  
  <p>For example :</p>
  
  <p>localhost:8080/TaskManager/login.jsp/ - show jsp source code</p>
  
  <p>localhost:8080/TaskManager/login.jsp - works perfect</p>
  
  <p>One solution I am aware of is to put all my jsp inside WEB-INF , but I am looking to handle it at server level.</p>
  
  <p>If it possible , if yes how ? Please help</p>
  
  <p>Thanks,
  Abhinav</p>
  
  <p>Asked same question at  <a href="https://developer.jboss.org/message/927301#927301" rel="nofollow">https://developer.jboss.org/message/927301#927301</a> but didn't get any response yet.</p>