1 Reply Latest reply on Jan 21, 2003 4:52 AM by Julian Gosnell

    context distinction

    Thomas Hamann Newbie


      i have a j2ee application with three servlets and some static content (in the war file). However when one of the servlets (A) is doing a loopback to the root context for accessing the static content (images) the request is being dispatched to another servlet (B) instead. The context structure is as follows:


      As you see, the servlet mappings are all set disjoint (/servlet_a, /servlet_b, /servlet_c) contexts.
      The strange thing is that requests to the war file content are redirected to servlet B only when the request originates from inside the server/the application. When the request comes from outside the server (e.g. a browser) images are delivered without any problem.

      Can somebody give a hint?!