Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25077

Usage of ServletContext.getContextPath()

    Details

      Description

      ServletContext.getContextPath() is part of Servlet spcification v2.5. It is not supported by some application servers, like Websphere 6.1 (portal can be deployed but won't run). We should use ContextPathUtil instead.

        Attachments

        1. SystemOut-2.log
          253 kB
          Sophia Zhang
        2. SystemOut-WAS-6.1.0.43.log
          666 kB
          Sophia Zhang
        3. Websphere-version.png
          54 kB
          Sophia Zhang

          Issue Links

            Activity

              People

              Assignee:
              sophia.zhang Sophia Zhang
              Reporter:
              igor.spasic Igor Spasic (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 6 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.10 EE GA1
                  --Sprint 11/12
                  6.2.0 CE M2