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. jpa.jar
          47 kB
        2. SystemOut-2.log
          253 kB
        3. SystemOut-WAS-6.1.0.43.log
          666 kB
        4. Websphere-version.png
          Websphere-version.png
          54 kB

          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:
                9 years, 23 weeks ago

                  Packages

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