3 Replies Latest reply on Feb 21, 2018 7:11 PM by moneypadda

    JSP content downloads instead of rendering - upgrading JBoss 7 to wildfly

    moneypadda

      we are trying to migrate our application from JBoss as 7.1.1 final to wildfly. the server now renders the html files at the root context but any request for any of the jsp files ends up as a download of that jsp file instead of rendering.

      I have tried the latest wildfly 11 and even 8.2.1 Final to go back a little but ends up with same behavior.

      Is there something special that needs to be done for JSPs to work when we migrate from Jboss web to undertow(in wildfly). the only jsp config we have is in web.xml

      that is

      <servlet id="jsp">

           <servlet-name>jsp</servlet-name>

           <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>

           <init-param>

            <param-name>development</param-name>

            <param-value>false</param-value>

           </init-param>

           <init-param>

            <param-name>checkInterval</param-name>

            <param-value>400</param-value>

           </init-param>

      </servlet>

      Note: the application does use JSF 1.2 and richfaces-api-3.3.3.Final but these jsps have no jsf content, just plain jsps.