1 Reply Latest reply on Aug 7, 2002 4:16 PM by Greg Wilkins

    senedRedirect problem in JBoss 3.0.1

    Jonas Partner Newbie

      Since 3.0.1 RC1 the bahaviour of sendRedirect seems to have changed can anyone shed any light on whether this is a bug or an intended change. Previously sendRedirect("logonpage") when called in a servlet running on for example mycontext would redirect to http://myhost/mycontext/logonpage it now redirects to http://myhost/logonpage

      Having looked at page 41 of servlet 2.3 spec which says "It is legal to call this method with a
      relative URL path, however the underlying container must translate the relative
      path to a fully qualified URL for transmission back to the client." I believe this is a bug, any clarification would be appreciated.

      Thanks Jonas