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 B9932BC62 for ; Sat, 31 Dec 2011 21:40:17 +0000 (UTC) Received: (qmail 10875 invoked by uid 500); 31 Dec 2011 21:40:15 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 10852 invoked by uid 500); 31 Dec 2011 21:40:15 -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 10844 invoked by uid 99); 31 Dec 2011 21:40:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2011 21:40:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeffblacktn@gmail.com designates 209.85.160.48 as permitted sender) Received: from [209.85.160.48] (HELO mail-pw0-f48.google.com) (209.85.160.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2011 21:40:08 +0000 Received: by pbaa12 with SMTP id a12so9785181pba.35 for ; Sat, 31 Dec 2011 13:39:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=fVGWGnEdyZmS1uzho9/zAPbPB0c7KSquguZ0Ww0OKrY=; b=JWhY4CWHHA+1quYaJ1T4lUWKfk4nKn5YE1u4juUhQDCrn4+ydZkL6sCkje4Fz2UcR1 6FH+AOXn9s0hNx/7yb42CRE6m6XCkij6X9VKvd118LFWJ7fV8uilFzpSTLtJZOktzGrR 6bfkkeXdOaLIk0SbFuOtF5eUbpqVhHirutu6A= MIME-Version: 1.0 Received: by 10.68.197.229 with SMTP id ix5mr34309342pbc.105.1325367587337; Sat, 31 Dec 2011 13:39:47 -0800 (PST) Sender: jeffblacktn@gmail.com Received: by 10.68.26.67 with HTTP; Sat, 31 Dec 2011 13:39:47 -0800 (PST) In-Reply-To: References: Date: Sat, 31 Dec 2011 15:39:47 -0600 X-Google-Sender-Auth: _DMhfwBmgFBzZWM8BqhSaFR6LdA Message-ID: Subject: Re: Invalid action class configuration that references an unknown class named? From: Jeffrey Black To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=e89a8ff1cb3c3d743404b56a306e X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1cb3c3d743404b56a306e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Could you perhaps post the applicable portion of your Spring configuration and your "appDefaultStack" configuration? jb 2011/12/30 =E6=80=AA=E4=BE=A0 <87863823@qq.com> > I use struts2 +spring. My application can work correctly. But if the form > validation fail, the application can't submit again. Always get the > exception: Invalid action class configuration that references an unknown > class named[sysuserAction]. Below is my struts.xml: > method=3D"{1}"> > > save,update > > > /sysuser/addSysuser.jsp > /sysuser/listSysuser.jsp > /sysuser/editSysuser.jsp > /sysuser/editSysuser.jsp > /common/invalid.jsp > > > and I define the sysuserAction as a bean in spring. > Could anyone tell me the reason? > Only when validation can't pass, it can't submit again. Even though I > fill all the form element in correct format. > > > Thanks very much. --e89a8ff1cb3c3d743404b56a306e--