Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!h36g2000pro.googlegroups.com!not-for-mail From: byhesed Newsgroups: comp.lang.java.programmer Subject: Re: Is JavaBeans able to store an array? Date: Sun, 29 May 2011 17:26:46 -0700 (PDT) Organization: http://groups.google.com Lines: 80 Message-ID: <296aeac2-c5fa-4f0d-99a8-857df5ba39ad@h36g2000pro.googlegroups.com> References: <5ec5c70e-03e1-46ae-8ed4-b79ddfef70a0@35g2000prp.googlegroups.com> <970d7ab8-dc74-4d7c-a486-b934fb3b5d3b@22g2000prx.googlegroups.com> <08c2a5e4-3858-410d-9863-860cff1aea64@z13g2000prk.googlegroups.com> NNTP-Posting-Host: 220.149.108.86 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1306715207 1907 127.0.0.1 (30 May 2011 00:26:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 30 May 2011 00:26:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h36g2000pro.googlegroups.com; posting-host=220.149.108.86; posting-account=v_GC8QoAAABz34PprEBWdejdnnHZvg4_ User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKRUAELSC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4702 On 5=EC=9B=9427=EC=9D=BC, =EC=98=A4=ED=9B=8411=EC=8B=9C25=EB=B6=84, Lew wrote: > byhesed wrote: > > Lew wrote: > >> byhesed wrote: > >>>>> -------------------------------------------------------------------= -------- ------------------------- > >>>>> 1. TestBeanForm.jsp > >>>>> -------------------------------------------------------------------= -------- ------------------------- > >>>>>
> >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0Java for Student
> >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0Compiler Construction
> >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0Software Engineering
> >>>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0Core Servlet and JSP
> >> Where are your 'value' attributes? > > >> > > >>> Note: The value attribute is required with > >>> and. > > >> -- > >> Lew > >> Honi soit qui mal y pense.http://upload.wikimedia.org/wikipedia/common= s/c/cf/Friz.jpg > > Don't quote sigs. > > > I know what the value is in html tag. > > But where is it? =C2=A0You don't show the 'value' attribute. =C2=A0It is = REQUIRED > according to the documentation I cited. =C2=A0Where is it? > > You didn't answer my question. =C2=A0Maybe the omission of the 'value' at= tribute is > your problem. > > > What I want to know is this: Is JavaBean able to handle array values? > > > I think JavaBean cannot receive reference values or pointer values. > > Nonsense. =C2=A0You've already told us that the bean did receive a refere= nce value > when it picked up the string value. =C2=A0So that's crap. > > Why don't you try my advice before redundantly repeating your question ag= ain? > > -- > Lew > Honi soit qui mal y pense.http://upload.wikimedia.org/wikipedia/commons/c= /cf/Friz.jpg As you already know, the default value of checkbox is "on" or "off" Although I didn't set values of checkboxes, there is no problem. Do you agree with me? (I think you will.) I can receive checkbox values as an array If I use getParameter() in Servlet. However, when I handle it using JavaBeans, I cannot receive the checkbox values as an array. That's my problem. And I didn't ignore your advice ever! I am not sure, but I might read that JavaBeans cannot handle array values. If you want to deal with array values, you need to use Tag Library. Anyway, sorry for late reply. I've been so busy.