You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "FAICAL BOUTAOUNTE (JIRA)" <ji...@apache.org> on 2015/03/20 12:57:39 UTC

[jira] [Created] (DELTASPIKE-861) RequestDispatcher#forward is redirecting instead of frwarding if I add Deltaspike

FAICAL BOUTAOUNTE created DELTASPIKE-861:
--------------------------------------------

             Summary: RequestDispatcher#forward is redirecting instead of frwarding if I add Deltaspike
                 Key: DELTASPIKE-861
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-861
             Project: DeltaSpike
          Issue Type: Bug
    Affects Versions: 1.3.1
         Environment: jboss-eap-6
glassfish-4
            Reporter: FAICAL BOUTAOUNTE


I'm deploying a web application into JBoss EAP6 and Glassfish 4, every thing works as expected till the point where I add deltaskpike jars to the projet.

Once deltaskpike enabled, the following code inside a servlet:

request.getServletContext().getRequestDispatcher("/faces/page.xhtml").forward(request, response);
will send a redirect response (HTTP: 302) to the browser instead of forwarding on the server side. if I remove deltaskpike jars from the application the dispatcher forward works as expected.

Is Deltaspike modifying the default behaviour of RequestDispatcher ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)