Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 99540 invoked from network); 1 Sep 2005 06:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2005 06:25:46 -0000 Received: (qmail 28203 invoked by uid 500); 1 Sep 2005 06:23:59 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 26906 invoked by uid 500); 1 Sep 2005 06:23:51 -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 26706 invoked by uid 99); 1 Sep 2005 06:23:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 23:23:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of pc.leung@gmail.com designates 64.233.184.196 as permitted sender) Received: from [64.233.184.196] (HELO wproxy.gmail.com) (64.233.184.196) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 20:03:18 -0700 Received: by wproxy.gmail.com with SMTP id i11so234962wra for ; Wed, 31 Aug 2005 20:03:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CpnovjbCiLoW4YfFBv2xdmFGsTvh7ZbxFkdgd6fEqQFGuRXbdHLj98U+mE1Z7Nsdk6DOXwp/yBipSJ5ChX4K8dPKdSy9Lj4oYfbbEnOR22mLPz+HXZARezmWK6+nsHeQ48rYQ/gc6VO3iOVEIn1021A175J2EUnwB7K1XfSraJ4= Received: by 10.54.130.13 with SMTP id c13mr1300034wrd; Wed, 31 Aug 2005 20:03:01 -0700 (PDT) Received: by 10.54.97.16 with HTTP; Wed, 31 Aug 2005 20:03:01 -0700 (PDT) Message-ID: Date: Thu, 1 Sep 2005 11:03:01 +0800 From: =?BIG5?B?seessbP1?= To: Struts Users Mailing List Subject: How to pass sql variable from jsp to Action? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I retrieve a group id by JSP. When user clicks a link=20 Before another page is shown, in my struts-config.xml, I try to make a ActionForward function to capture the group_id and then update a session attribute . Then the resulting jsp is like this Is this a proper way to do this? I do not know how to write in the Action class so that it can retrieve the sql value from the passing in jsp file. Your help is very much appreicated. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org