0 Replies Latest reply on Jun 19, 2018 12:47 AM by Sooraj Sundarrajan

    Weblogic 10 to JBoss 7 migration

    Sooraj Sundarrajan Newbie

      I am getting following error.

       

      Caused by: org.apache.jasper.JasperException: /adc/bce/eefgp.jsp (JBWEB004251: An error occurred at line: 1610 column: 23) JBWEB004078: Scripting elements are disallowed here

      at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:45)

      at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:276)

      at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91)

      at org.apache.jasper.compiler.Parser.parseElementsScriptless(Parser.java:1513)

      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1448)

      at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1680)

      at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1029)

      at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1299)

      at org.apache.jasper.compiler.Parser.parseElementsScriptless(Parser.java:1530)

      at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1683)

      at org.apache.jasper.compiler.Parser.parseNamedAttributes(Parser.java:1717)

      at org.apache.jasper.compiler.Parser.parseJspAttributeAndBody

       

      Code snippet looks like this, where scripting is used

      <%=StringEscapeUtils.escapeHtml("1. asdasdasdasda (asdasdasdad).")%><br/>

       

      I have struts-el-1.1.0.jar in WEB-INF\lib