Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-33155

Servlet forwarding does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 6.1-OD-05
    • 5.0, 5.1, 5.2, 5.2.11, 6.0
    • None

    Description

      I've created two servlets: hello, which displays "Hello", and world, which displays "World". They work fine when invoked:

      http://localhost:2990/jira/plugins/servlet/hello

      displays "Hello" and

      http://localhost:2990/jira/plugins/servlet/world

      displays "World"

      Now, I want to forward the hello to the world servlet when a forward parameter is set to "true":

      http://localhost:2990/jira/plugins/servlet/hello?forward=true

      Then, JIRA says /jira/plugins/servlet/world not found!!!

      Even worst, if the url-pattern of the hello servlet (/hello) is changed to a string with more than 5 characters (the length of world) then an exception is raised.

      Attachments

        1. servlet_forward_exception.png
          servlet_forward_exception.png
          86 kB
        2. servlet-forward-1.0-SNAPSHOT.jar
          12 kB
        3. src.zip
          15 kB

        Issue Links

          Activity

            People

              cfuller crf
              c500b7a4e489 Kinto Soft
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: