JSP pages with same name/path in different contexts will be shared ------------------------------------------------------------------
Key: PAXWEB-225 URL: http://issues.ops4j.org/browse/PAXWEB-225 Project: Pax Web Issue Type: Bug Components: JSP Support Affects Versions: 0.8.1 Environment: Equinox Pax Runner Windows XP 32-bit Reporter: Dennis Du Krøger Assignee: Alin Dreghiciu When more than one WAR bundle has the same filename and path, it seems like Pax Web is not able to separate the generated servlets, which will make generated servlets from one Webapp context be used by the other Webapp context. Steps to reproduce: # Create two OSGi-fyed WAR projects, with the webapp contexts _con1_ and _con2_. # Create _test.jsp_ in the root of _con1_, containing the string "Test 1" # Create _test.jsp_ in the root of _con2_, containing the string "Test 2" # Load the bundles into the OSGi runtime. # Point a browser at the first page. # Point a browser at the second page. Expected result: The browser shows "Test 2" when loading the second page. Actual result: The browser shows "Test 1" when loading the second page. Workaround: Wrap all pages in an extra folder with a unique name, since the generated servlet's classpath will contain the path. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general