Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004117 [Resin] minor always 07-12-10 10:13 08-03-10 17:02
Reporter ferg View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed   Product Version 4.0.8
Summary 0004117: cross-context include does not return proper context
Description (rep by Brian Deng)

I've found a difference between v3.1 and v4.0 with respect to context dispatching.
Can you confirm whether this change is by design or a bug?

Here's the scenario: I have 2 different webapps (call them appa and appb)

From appa, I do the following:

servletContext.getContext("/appb").getRequestDispatcher("/Controller").include(request,response)

Within the servlet code for /appb/Controller, request.getContextPath() returns "/appb" in 3.1 but it returns "/appa" in 4.0

What is the correct behavior for include() when called across webapp contexts?
Additional Information
Attached Files

- Relationships

- Notes
(0004697)
alex
08-03-10 17:02

server/10af
 

- Issue History
Date Modified Username Field Change
07-12-10 10:13 ferg New Issue
07-12-10 10:16 briandeng Issue Monitored: briandeng
08-03-10 17:02 alex Status new => assigned
08-03-10 17:02 alex Assigned To  => alex
08-03-10 17:02 alex Status assigned => closed
08-03-10 17:02 alex Note Added: 0004697
08-03-10 17:02 alex Resolution open => fixed
08-03-10 17:02 alex Fixed in Version  => 4.0.10


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker