7 Replies Latest reply on May 6, 2015 2:01 PM by Tomaz Cerar

    With trailing slash in URL , jsp show source code

    Abhinav Gupta Newbie

      Hi All,

       

      we have application deployed over wildfly 8.1 . All works fine for jsps , but whenver I put a slash , broswer shows source code of jsp. This is an issue from security.

      Can I handle this at wildfly or undertow configuration level .

       

       

      For example :

      http://localhost:8080/TaskManager/login.jsp/ - show jsp source code

      http://localhost:8080/TaskManager/login.jsp - works perfect

       

      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.

      Id it possible , if yes how ? Please help

       

      Thanks,

      Abhinav