[jboss-jira] [JBoss JIRA] Created: (JBAS-6570) request.getRequestURL() returns jsp path instead of servlet path

Pavneet Chadha (JIRA) jira-events at lists.jboss.org
Wed Mar 4 08:05:22 EST 2009


request.getRequestURL() returns jsp path instead of servlet path
----------------------------------------------------------------

                 Key: JBAS-6570
                 URL: https://jira.jboss.org/jira/browse/JBAS-6570
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-5.0.0.GA
         Environment: Linux Enterprise 4 Server, Java 1.6
            Reporter: Pavneet Chadha


We are in process of migrating our application from Jboss 3.2.7running on Java 1.4.2 to JBoss 5.0.0 GA  running on Java 1.6 version. 
There are multiple instances where we are using request.getRequestURL() in our JSP's. 

>From the site address as below: 

http://site-name.com/context/servlet1.jspx?param1=ab&param2=bc

request.getRequestURL() returns :
http://site-name.com/context/servlet1.jspx in JBoss 3.2.7.

Using the same in JBoss 5.0.0 GA this returns:
http://site-name.com/context/servlet1/servlet.jsp, the actual JSP serving the page. 

This is not expected behavior and is breaking our code in multiple places.

I was unable to find any bug in the issues regarding this and hence I am posting this as a bug. Do let me know if this is expected behavior, or is there a existing workaround to get the same behavior as in JBoss 3.2.7.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list