1 Reply Latest reply on May 7, 2015 1:42 PM by Juan Antonio Perez Flores

    Is it possible to disable hash and percentage escaping in JSP

    romanj Newbie

      Hello Guys,

      I encoutering problem with JSP render - percentage and hash characters are being escaped.

      So I would like to output backslash followed by percentage, and backslash followed by hash.

       

      Here is my entire JSP please note that problematic code is not even within <% %> clause

      <!DOCTYPE html>
      <html>
      <head>
      <title>Insert title here</title>
      </head>
      <body>
      \%
      \#
      </body>
      </html>
      

      The two problematic lines render to:

      Jboss EAP 6.3.1.GA: and Jboss EAP 6.0.1

      %

      #

      Weblgic 9.2

      \%

      \#

      Jetty 9.2.10.v20150310

      \%

      #

       

      So the only correct output is provided by old weblogic.

       

      Is there any way to disable this behaviour? Is it a feature or bug?

       

      Regards