0 Replies Latest reply on Apr 28, 2014 7:55 AM by Paweł Walczak

    jsp include and parameters decoding

    Paweł Walczak Newbie

      I've encountered a problem in my legacy app. The slash character is not decoded when passed as param to the <jsp:include> tag. The problem can be reduced to following simple code.

       

      In including jsp file:

      <jsp:include page="included.jsp">
       <jsp:param value="/abc" name="paramName"/>
      </jsp:include>
      

       

      and in included file:

      ${param.paramName}
      

       

      This gives the following output:

      %2fabc

      instead of /abc. In prevous versions of JBoss AS it worked correctly. Are there any ways to correct this behaviour? I've checked varous combinations of allow-encoded-slash and decode-url in http connector configuration but neither of them helped.