Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 64246 invoked from network); 15 Jun 2007 04:31:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jun 2007 04:31:49 -0000 Received: (qmail 6794 invoked by uid 500); 15 Jun 2007 04:31:43 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 6760 invoked by uid 500); 15 Jun 2007 04:31:43 -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 6749 invoked by uid 99); 15 Jun 2007 04:31:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 21:31:43 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of rakeshsharma1980@gmail.com designates 64.233.162.236 as permitted sender) Received: from [64.233.162.236] (HELO nz-out-0506.google.com) (64.233.162.236) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 21:31:39 -0700 Received: by nz-out-0506.google.com with SMTP id m7so718027nzf for ; Thu, 14 Jun 2007 21:31:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=AKEXq0DCCnRYLnaMJNGqR/glAhqTH3EF0dCx/899PCQKMP0jMyJtN/cG4H0ZVACG4GqGWa5F2/Ad3bubQIcjRUfdpqJsUd2bi4uvy61IagGRLipkmSocubIW64hDfjjooxe/kX2Fx6/YhQRVH0oARpRkkgO64bVU3iZnZNoXep8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=EZuOvQ8y5vlwan51MR6WRX7AGn6feFeZR6/5YFYio9gaLQdugE1d4DquDwnhqvBcvBJyogEe7bBTAUGlVS30qNykulRqnAadbU05P9fiNPljdGLYnJvsfGEoMdwOiW691YMbhqT4gWBKB8vyzVQNK11I6DUzVVazf/YdYfSYHrk= Received: by 10.114.169.2 with SMTP id r2mr2619141wae.1181881877962; Thu, 14 Jun 2007 21:31:17 -0700 (PDT) Received: by 10.114.196.4 with HTTP; Thu, 14 Jun 2007 21:31:17 -0700 (PDT) Message-ID: Date: Fri, 15 Jun 2007 12:31:17 +0800 From: "Rakesh Sharma" To: "Struts Users Mailing List" Subject: Query on struts application design MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_54864_8111017.1181881877930" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_54864_8111017.1181881877930 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear All, I am new to struts so would need your help here. My client has an enterprise application(struts1.0 based) with : 1 WAR (virtual host www.abc.com) 1 EJB module Now, the client want the same application(almost same business rules..i.e same EJB module) but in different look and feel on another domain( www.xyz.com). Can any one suggest me a good way out for this on struts. My take was : - Make one more webmodule in the same application which can be configured for www.xyz.com using virtual host settings. - Copy the JSPs/taglibs/CSS/image etc from the first webapp to second and make the customization on these UI components. - Copy the struts related configuration from the first webapp to second(I donot intend to change any thing is these files, including in the struts config xml.) I am not able to do a test of the above approach as I am at client location and donot have any IDE with me. Do you guys thinks that I would be able to achieve what I want ? Please note that all the 3 modules(2 webapp and 1 EJB) would be deployed on same JVM, so my guess was that there should not be any issue while accessig the struts related classes(such as controller etc..) in webapp2 at runtime. Please help me out here and tell me if my thinking is flawed... Your help would be highly appreciated. Thanks and Regards Rakesh ------=_Part_54864_8111017.1181881877930--