0 Replies Latest reply on Feb 19, 2015 6:37 AM by Bhushan Pathak

    Which servlet handles redirect request from JSP pages in JBOSS AS 6.1.0 Final?

    Bhushan Pathak Newbie

      Hello,

       

      I am trying to deploy an application in JBOSS AS 6.1.0 final. In the application, I have a JSP file which has the following -

      final String redirectURI = "/myApplication/newPage";

      response.redirect(redirectURI);

       

      I expected that the container to build the rest of the URL as http://<server FQDN>/myApplication/newPage, but instead I get http://<server FQDN:port number>/myApplication/newPage, which messes up things.

       

      I checked the connector port settings & everything looks ok. Can anyone point to the servlet that is invoked for the redirection?

       

      Thanks

      Bhushan Pathak