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 5A4809945 for ; Wed, 6 Mar 2013 03:36:26 +0000 (UTC) Received: (qmail 16706 invoked by uid 500); 6 Mar 2013 03:36:24 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 16519 invoked by uid 500); 6 Mar 2013 03:36:23 -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 16487 invoked by uid 99); 6 Mar 2013 03:36:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 03:36:22 +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 (athena.apache.org: domain of davelnewton@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-ob0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 03:36:17 +0000 Received: by mail-ob0-f171.google.com with SMTP id x4so3212272obh.2 for ; Tue, 05 Mar 2013 19:35:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=DL0en4ThBulbrrjAHB7gi9eoyjiCbeyWHWNB1IUPfSw=; b=sF5TWk4gBZvfwyQt7BYBomAUnDS8xrGDVsgV0v921lDAn3wPF2aMQvjLYrpUtxMYDg 5FHtlyxaO11fiGNujTJbJs/uYz4rXDVfpHzb8LF5nGrje6LHk0HszPiDmlLF7SHkCbx5 iE53iuo1SkkZFdAsaUKGG1MikBM+tlxdKaNQqewVRwVE7kVZFGUX3rLUwcfBhzqH/dwl RCJCu/SgZbNA0Uwdpz+cJA1EJcp2PF6o4XuYtL2VPrcC5NNk0mmudqsZwnxfL7/fSMPm OTPZjWFKYKdqw47uK+hYsnVaeXoZWCWCML3mqdYnT09cvDa59o9w4RrjDaIBzrUJmhB0 zZLg== MIME-Version: 1.0 X-Received: by 10.182.64.74 with SMTP id m10mr20965306obs.61.1362540956846; Tue, 05 Mar 2013 19:35:56 -0800 (PST) Received: by 10.76.166.200 with HTTP; Tue, 5 Mar 2013 19:35:56 -0800 (PST) Received: by 10.76.166.200 with HTTP; Tue, 5 Mar 2013 19:35:56 -0800 (PST) In-Reply-To: <201303061130328553732@gmail.com> References: <201303061130328553732@gmail.com> Date: Tue, 5 Mar 2013 22:35:56 -0500 Message-ID: Subject: Re: How can I transfer parameters as Map type from jsp to action? From: Dave Newton To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=14dae93b5e36b9934804d73949e6 X-Virus-Checked: Checked by ClamAV on apache.org --14dae93b5e36b9934804d73949e6 Content-Type: text/plain; charset=ISO-8859-1 No quotes around the string map key? On Mar 5, 2013 10:32 PM, "Gmail" wrote: > My code is blow, > > action.java: > public class RoleAction extends BaseAction { > private Map roleFunctionMap; > > public Map getRoleFunctionMap() { > return roleFunctionMap; > } > > public void setRoleFunctionMap(Map > roleFunctionMap) { > this.roleFunctionMap = roleFunctionMap; > } > } > > jsp: > > type="hidden" value="${roleInfo.roleId}"> > > > > when ${functionItem.functionId} is a int type number, the value can put > into the map in action, but when it's a string can't. > > what's the problem? > > > > > Gmail --14dae93b5e36b9934804d73949e6--