Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 69494 invoked from network); 9 Sep 2007 16:48:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Sep 2007 16:48:22 -0000 Received: (qmail 17362 invoked by uid 500); 9 Sep 2007 16:48:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17339 invoked by uid 500); 9 Sep 2007 16:48:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 17328 invoked by uid 99); 9 Sep 2007 16:48:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2007 09:48:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhaudry@gmail.com designates 209.85.128.187 as permitted sender) Received: from [209.85.128.187] (HELO fk-out-0910.google.com) (209.85.128.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2007 16:48:02 +0000 Received: by fk-out-0910.google.com with SMTP id f40so1078161fka for ; Sun, 09 Sep 2007 09:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=kT/QVo7H8z/NhMm8u3DQvMQz9zdeDdJrNOQPtncWJuo=; b=SVqtRjDjOqJ9LWLuqbu3Jp67a291WCHq8GM0bSU9qn65q+6kgaPsIfYggr7AD2x9I6ZuJY37TvzZL032MNlbH87zI072j5pBfEtAXpDfqsssOVqapLUkWzvXbO8n4jkmjyd3mwClrenwEgcDu368oE8mUh+TwPwYaQYI60AQWiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PHPxxu4mv2frf4UhcVuvMW4ZzRVLQfUlGYSvkO5gESPA9dTZgxgfhzqytfLj3W2L923z8EueyN5ncYhXE529/Nz+mDzWtEiaB69pKgig47pTv2QNq49hY3ctA/cC2s4/eXBXzb94coSNy1+5Uoq7HqVfnq+Qn/1nGh7jn+wHusg= Received: by 10.82.106.14 with SMTP id e14mr4173576buc.1189356460314; Sun, 09 Sep 2007 09:47:40 -0700 (PDT) Received: by 10.82.134.3 with HTTP; Sun, 9 Sep 2007 09:47:40 -0700 (PDT) Message-ID: Date: Sun, 9 Sep 2007 18:47:40 +0200 From: "Yannick Haudry" To: "Tomcat Users List" Subject: Re: the tomcat welcome file one struts action In-Reply-To: <4eedb92a0709090925v2949eea2uaa6893d1d9ba1856@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <003701c7f24c$0d8dc6a0$0201a8c0@wxpetxea> <46E32CD6.4050503@webappcabaret.com> <001201c7f2fb$992f1060$0201a8c0@wxpetxea> <4eedb92a0709090925v2949eea2uaa6893d1d9ba1856@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Create a simple index.jsp and declare it as your welcome file in web.xml: index.jsp In this jsp, make use of a logic redirect to actually redirect to your action through a global ActionForward: <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> Then update your struts-config.xml accordingly : Hope it helps Yannick On 9/9/07, Hassan Schroeder wrote: > On 9/9/07, Miren Urkixo wrote: > > > And into the web.xml i have: > > > > > > /Index.do > > > > I believe that should be "index.do" rather than "/index.do". > > (And presumably not starting with an upper-case "I"...) > > FWIW, > -- > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org