Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 28444 invoked from network); 9 Dec 2010 09:38:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 09:38:34 -0000 Received: (qmail 19313 invoked by uid 500); 9 Dec 2010 09:38:32 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 19124 invoked by uid 500); 9 Dec 2010 09:38:31 -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 19114 invoked by uid 99); 9 Dec 2010 09:38:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 09:38:30 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apachemaven0@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 09:38:22 +0000 Received: by bwz16 with SMTP id 16so2522223bwz.32 for ; Thu, 09 Dec 2010 01:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=rxh7Kk6UlIi0hcT8hpGZqlj8WGVtj0+rKkJHz90Hk3w=; b=n7gH/YoTmMOtn9dweqe92Xu9r43UsU7tP9fXeW+u9hkymplWo80kUX2BaGP6AIMu6q sLeqH1Em/AfCkf7lEyvrUClrKsxiaPlq9HdHNSISW2GD6XSkSVtaCT7+DqarekK0scbr ArMOgqmwzZCOTt5LcXEMPmvUtGD4lo7WQxTOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=rWNPorX1+1ec1uC3Opp2yQ/0Co2Tepr+s0HZIc8vXhtFj4n7bY9GJR2Q/sWaeWZCTa 2GA+5SbYUBsIriZdlZsswKUK4B/ZargabeEvILQtiiC5cvU+BB/v7xrHnFiun0obTl/y NNIe5dbsChDE3iTe1SpzNjoVMP4sChC9PKUAQ= Received: by 10.204.103.132 with SMTP id k4mr2977022bko.28.1291887482565; Thu, 09 Dec 2010 01:38:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.54.83 with HTTP; Thu, 9 Dec 2010 01:37:42 -0800 (PST) From: maven apache Date: Thu, 9 Dec 2010 17:37:42 +0800 Message-ID: Subject: any option parameter for populating parameters to my bean? To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=0016e6d7edba7cf5e80496f6fee0 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7edba7cf5e80496f6fee0 Content-Type: text/plain; charset=ISO-8859-1 My action: public class MyAction{ private MyBean bean; //getter setter..... } public class MyBean{ private Date start; //setter getter.... } If the value of start is '2010-12-12 12:00:00',the parmameter start can be populated to my bean correctly,however if the format is '2010/12/12 12:00:00',it will show me a error "can not parser the date',so I wonder if there is any parameter can be set for populating parameter? --0016e6d7edba7cf5e80496f6fee0--