Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E19F18095 for ; Thu, 24 Mar 2016 07:38:26 +0000 (UTC) Received: (qmail 96248 invoked by uid 500); 24 Mar 2016 07:38:25 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 96213 invoked by uid 500); 24 Mar 2016 07:38:25 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 96188 invoked by uid 99); 24 Mar 2016 07:38:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2016 07:38:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 816A52C14F8 for ; Thu, 24 Mar 2016 07:38:25 +0000 (UTC) Date: Thu, 24 Mar 2016 07:38:25 +0000 (UTC) From: "Takeshi Nakashima (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4616) Unable to receive GET parameters with field name 'cId' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209917#comment-15209917 ] Takeshi Nakashima commented on WW-4616: --------------------------------------- Thank you again for the reply. I'd like to revert OGNL jar this time. The "struts.excludedClasses" might affect my project. Possibly there are JSP files which call static methods of java.lang.Runtime in the project. > Unable to receive GET parameters with field name 'cId' > ------------------------------------------------------ > > Key: WW-4616 > URL: https://issues.apache.org/jira/browse/WW-4616 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.3.28 > Environment: CentOS6/Windows7, Oracle Java 1.8.0_74, Tomcat6 > Reporter: Takeshi Nakashima > > After I upgraded Struts from 2.3.24.1 to 2.3.28, some action classes got unable to receive some GET parameters. > The action classes have fields and setter methods like below. > private int cId; > public void setCId(int cId) { > this.cId = cId; > } > private int blockId; > public void setBlockId(int blockId) { > this.blockId = blockId; > } > http://localhost:8080/app/XXX.action?cId=9&blockId=145 > When I send an HTTP request from a link like above, the action class only receive only 'blockId' value. > cId=0 > num=145 > But if I change the field name 'cId' to 'cid' and the method name 'setCId' to 'setCid', the GET value 9 will be passed to 'cid'. > cid=9 > num=145 -- This message was sent by Atlassian JIRA (v6.3.4#6332)