You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2005/02/14 18:20:33 UTC

DO NOT REPLY [Bug 33567] New: - WebSphere problem with getServletPath

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33567>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33567

           Summary: WebSphere problem with getServletPath
           Product: Slide
           Version: 2.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDAV Server
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: Jagadeesh.Sunkara@ssaglobal.com


In org.apache.slide.webdav.util.WebdavUtils.java we had to adjust the method 
getRelativePath(HttpServletRequest, WebdavServletConfig). If you have 
configured Slide to be your default servlet, the method req.getServletPath() 
will be called. But that method always delivers "/" on WebSphere. So we 
changed that to req.getPathInfo() and now everything works fine.

Before: 
... 
if (config.isDefaultServlet()) { 
    result = req.getServletPath();
} else { 
    result = req.getPathInfo();
}
... 

After: 
... 
//if (config.isDefaultServlet()) { 
//    result = req.getServletPath(); 
//} else { 
    result = req.getPathInfo();
//} 



Appreciate if someone from slide-dev look into this and make generic fix that 
works for both tomcat and WebSphere

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org