Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F698FB29 for ; Fri, 31 May 2013 18:20:02 +0000 (UTC) Received: (qmail 91708 invoked by uid 500); 31 May 2013 18:20:00 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 91682 invoked by uid 500); 31 May 2013 18:20:00 -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 91672 invoked by uid 99); 31 May 2013 18:20:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 18:20:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_BELOW2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paulus.benedictus@gmail.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 18:19:53 +0000 Received: by mail-ob0-f179.google.com with SMTP id xk17so3591255obc.24 for ; Fri, 31 May 2013 11:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=ru1OeLV8wRrPINhX2uGnob6py2MoMjGkQ1D054RjAIU=; b=iZruJWkqoM9f+MMia0HzfPK1QbhkV6xd8o5jbiCpBXP6Tnpg2H2fXJCgROJT/fF/hz 8S4KJrwn5eUbXA2Gn6BKqAl0zMe7nI3R8BHMhtidfQxNbhbSn5n02sUoJ9/3CNNXAnoo nopZWKuUDTcqDzrqeuBY3O+pfPViecrTNFnu1MUaTcD7Na4BBENvUK4+4poIQsqTx8yc HbLXfmVVHQYm9ks432aZPIzTzklJl//tn4Khgm/OubL2TmbmhXXlCoTuTAUJhi0vzGkz fJN3C3ylxjTih18B5Smgm+1wk2VHNvSjVe2mpPnuvG4d0ORUU9NJQF5ki3uu+BU2Mo0Y 8Evw== MIME-Version: 1.0 X-Received: by 10.60.138.234 with SMTP id qt10mr6505807oeb.118.1370024372673; Fri, 31 May 2013 11:19:32 -0700 (PDT) Sender: paulus.benedictus@gmail.com Received: by 10.76.153.10 with HTTP; Fri, 31 May 2013 11:19:32 -0700 (PDT) In-Reply-To: <51A8E951.3050700@gmail.com> References: <51A8E951.3050700@gmail.com> Date: Fri, 31 May 2013 13:19:32 -0500 X-Google-Sender-Auth: 0xFFpWG158t2rOZfBG62yer73JE Message-ID: Subject: Re: Actions as welcome files From: Paul Benedict To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=047d7b41417011223e04de07a896 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b41417011223e04de07a896 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It's not possible at the moment. It's a feature that I would like to have too. On Fri, May 31, 2013 at 1:17 PM, Antonio S=E1nchez wr= ote: > Hello. > > My name is Antonio, I'm beginning with Struts2 and this is my first post. > > Where should store struts.xml if I need to use an action as a welcome fil= e? > > In example "Hello World" (maven): > > http://struts.apache.org/**development/2.x/docs/hello-** > world-using-struts-2.html > > I have to move struts.xml (originally inside resources folder) inside > maven 'main' folder to make it work and avoid > > HTTP 404 - There is no Action mapped for namespace [/] and action nam= e > [] associated with context path [/Hello_World_Struts2_Mvn]. > > but then struts.xml is unreachable in Netbeans project window. > > In this crud example: > > http://struts.apache.org/**development/2.x/docs/hello-** > world-using-struts-2.html > > I can't find the right way. I have updated libs to the latest ones. > struts.xml is in WEB-INF/classes in war file deployed by Netbeans (Tomcat > 7). > > Bellow struts and web xmls > > > > > > > > > > > *EmployeeAction" method=3D"list"> > /WEB-INF/jsp/**employees.jsp > > > > method=3D"input"> > index > /WEB-INF/jsp/**employeeForm.jsp > /WEB-INF/jsp/**error.jsp > > > > > > > Struts 2 Demo > > > index.action > > > > struts2 > org.apache.**struts2.dispatcher.ng.filter.** > StrutsPrepareAndExecuteFilter<**/filter-class> > > > > struts2 > /* > > > > Thanks. > > > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: user-unsubscribe@struts.**apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --047d7b41417011223e04de07a896--