Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 3453 invoked from network); 5 Jul 2007 06:56:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 06:56:38 -0000 Received: (qmail 66531 invoked by uid 500); 5 Jul 2007 06:56:28 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 66497 invoked by uid 500); 5 Jul 2007 06:56:28 -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 66483 invoked by uid 99); 5 Jul 2007 06:56:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 23:56:28 -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 thechrispratt@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2007 23:56:22 -0700 Received: by py-out-1112.google.com with SMTP id p76so4372970pyb for ; Wed, 04 Jul 2007 23:56:01 -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=bfmYkYZfhzm38xuIH0CnHr2E7OGh6EyfF+kXDy/njGl8Fa1E9m5yTVfJ6ZsIcY+K80WfBVas8/B/7spLLqE4zN22ThHxT6FBuM/BhgslHRfoSBDEkw6R0s8w+U79N0wK3G7fZPUf1yV3Nt+NqBqfscc7N6RjiojEQ017zO7D1MU= 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=PS5+rQlfQOnafGYPnfft3AOtR8lDVgKFGZJNdOT2yIVR4DCljIdRsQZxnlObbfH5rNR4TcbsRfL20NL0GklNp6TLXyx/MtcGfBGlL3sP1Wakzk5LKo9yRuzwRhG09bjWevOJ2oVT+Pshf6H3upaxwsWzEBUoKi3R41zy7VWY1TU= Received: by 10.65.51.4 with SMTP id d4mr13506188qbk.1183618561565; Wed, 04 Jul 2007 23:56:01 -0700 (PDT) Received: by 10.64.183.1 with HTTP; Wed, 4 Jul 2007 23:56:01 -0700 (PDT) Message-ID: <42db7f0a0707042356o3ae0398em11905a5580c70532@mail.gmail.com> Date: Wed, 4 Jul 2007 23:56:01 -0700 From: "Chris Pratt" To: "Struts Users Mailing List" Subject: [S2] Default Action MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_92140_16904738.1183618561489" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_92140_16904738.1183618561489 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I am trying to figure out how to set the default class that is executed when a class is not specified on an declaration. When you specify something like: /home.jsp Struts automatically runs com.opensymphony.xwork2.ActionSupport. But I am trying to figure out how to accomplish this: user /home.jsp Since ActionSupport doesn't have a setRole method, this won't work out of the box, so I created a simple extension of ActionSupport to hold the role value. After a bit of googling, I got the idea that this should work: but that doesn't seem to do the job. Is it possible? Is there another way to specify this type of information on a per Action basis? Any insights would be appreciated. (*Chris*) ------=_Part_92140_16904738.1183618561489--