Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 99318 invoked from network); 11 Jun 2008 12:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2008 12:27:12 -0000 Received: (qmail 88615 invoked by uid 500); 11 Jun 2008 12:27:06 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 88575 invoked by uid 500); 11 Jun 2008 12:27:06 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 88564 invoked by uid 99); 11 Jun 2008 12:27:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 05:27:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.27.42.36] (HELO smtp6-g19.free.fr) (212.27.42.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 12:26:16 +0000 Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id 5F9C15FE93 for ; Wed, 11 Jun 2008 14:26:03 +0200 (CEST) Received: from mica.kabhal.org (kabhal.org [82.240.18.9]) by smtp6-g19.free.fr (Postfix) with ESMTP id 375CC5FD65 for ; Wed, 11 Jun 2008 14:26:03 +0200 (CEST) Received: by mica.kabhal.org (Postfix, from userid 10100) id 08524EE678; Wed, 11 Jun 2008 14:26:03 +0200 (CEST) Date: Wed, 11 Jun 2008 14:26:03 +0200 From: Hugo de Paix de Coeur To: user@struts.apache.org Subject: Multiple Struts2 WAR in a single EAR Message-ID: <20080611122602.GA7192@smtp.kabhal.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm currently trying to deploy two Struts2 enabled .war in a single .ear on Glassfish. My problem is : I've no isolation between the 2 projects at the action dispatcher level. ---------------------------- Project A WAR struts.xml : /jsp/index.jsp Project B WAR struts.xml : /jsp/index.jsp /jsp/login.jsp ---------------------------- 1- I can call 'http://localhost:8080/ProjectA/Login.action' and this is the 'com.web.projectB.Login' class that is executed (even if no Login action is specified in Project A) because they share the namespace '/'. 2- If I call 'http://localhost:8080/ProjectA/Index.action', this is the 'com.web.projectB.Index' class that is executed (last struts.xml to be parsed ?) I've no clues to resolve this problem (the use of different namespaces doesn't resolve the problem either) Any idea ? -- Kab --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org